SlideShare a Scribd company logo
1 of 33
All contents © MuleSoft, LLC
All You Need to Know Before
Creating Your VPC
MuleSoft Meetup - Milano
Gonzalo Marcos – Senior Technical Architect
May 2021
All contents © MuleSoft, LLC
Agenda
1. Introductions
2. What is a Mule VPC?
3. Do I need a VPC?
4. How Many VPCs do I need?
5. How to choose your CIDR block
6. Summary
2
All contents © MuleSoft, LLC
Creating a VPC is simple…
3
REGION
CIDR BLOCK
ENVIRONMENTS
BUSINESS GROUPS
All contents © MuleSoft, LLC
What is a Mule VPC?
All contents © MuleSoft, LLC
Mulesoft Shared Worker Cloud
5
All contents © MuleSoft, LLC
What is a VPC?
6
A Virtual Private Cloud (VPC) dedicated space in CloudHub specifically for an organization to
deploy their applications
Allows you to have a dedicated range of IP addresses specifically to your Mulesoft Organization
within an AWS Region
All contents © MuleSoft, LLC
Anatomy of a VPC
7
All contents © MuleSoft, LLC
What is a VPC?
8
All contents © MuleSoft, LLC
Do I need a VPC?
All contents © MuleSoft, LLC
When do we need a VPC?
11
• Connectivity to your Data Center
• Isolation
• Custom Domain for your Apps
• Custom Certificates
• Mutual TLS
All contents © MuleSoft, LLC
Connectivity to your Data Center
12
You can connect your AnyPoint VPC to
your private network using the following
methods:
• VPN - IPsec Tunnel
• VPC Peering
• CloudHub Direct Connect
All contents © MuleSoft, LLC
Isolation
16
Traffic Segregation
Security
All contents © MuleSoft, LLC
Isolation – Firewall Rules
18
All contents © MuleSoft, LLC
Isolation – Traffic Segmentation
19
- It’s a good practice to isolate all the traffic between
production and non production environments
- Differentiating traffic between business units in the same
organization.
All contents © MuleSoft, LLC
Need for a Dedicated Load Balancer
20
• Use of Custom Domain names
(Vanity Domains)
• Use of Custom Certificates
• Mutual TLS
• Traffic Segregation 🡪 Limit internal
and External traffic
All contents © MuleSoft, LLC
How many VPCs do I need?
All contents © MuleSoft, LLC
Where is your backend?
22
• Your VPC should be as close as possible to your backend systems
• A Mule VPC is created in an AWS region → is your backend located
in only one region or is it geographically distributed?
• Two options for distributed backend systems:
– One VPC + connections (VPN/VPC Peering/AWS DX) to your multiple data
centers
– One VPC per region + connections
• Pay attention to your Control Plane location!! (EU/US)
All contents © MuleSoft, LLC
Isolation – Business Groups
23
• Business Groups are a great
solution to separate and
control access to AnyPoint
resources.
• A VPC is a resource that
can be created at the
master org and also at a
Business Group level
• A VPC is only shared
vertically down, not up or
across.
All contents © MuleSoft, LLC
Isolation – Business Groups
24
• If you don't have any requirement of isolation between the BGs of
your org the recommendation is to create your VPC at the master
Org
All contents © MuleSoft, LLC
Isolation - Environments
25
• Environments get associated to a VPC.
• We can have multiple environments in the same VPC but each
environment can be associated to only one VPC.
• One environment cannot be part of two VPCs.
• Every app gets deployed to an environment and that environment
is associated to a VPC.
All contents © MuleSoft, LLC
Isolation - Environments
26
• This provides us with a
mechanism of isolation for
our apps.
• The recommendation is to
have a minimum of two
VPCs. One for production
environments and one for
non production
environments (Dev, QA,
Staging, Test).
• In some other cases a VPC
per environment is required.
All contents © MuleSoft, LLC
How to Choose Your CIDR
Block
All contents © MuleSoft, LLC
The basics – What’s an IP address?
• It’s a numerical representation of a location within a network
• That number is a binary number and it’s 32 bits long
• For better readability we divide those 32 bits in 4 blocks and use a decimal value for each
block
• Each decimal number ranges from 0-255
Smallest IP Address: 0.0.0.0
Binary: 0000 0000 - 0000 0000 - 0000 0000 - 0000 0000
Largest IP Address: 255.255.255.255
Binary: 1111 1111 - 1111 1111 - 1111 1111 - 1111 1111
All contents © MuleSoft, LLC
What is CIDR?
30
• Classless Inter-Domain Routing notation
• The notation identifies the network and the host in that network
• IP addresses are described as consisting of two groups of bits in the address: the most
significant bits are the network prefix, which identifies a whole network or subnet, and
the least significant set forms the host identifier, which specifies a particular interface of a
host on that network.
192.168.0.0/24 example
192.168.0.0 = 1100 0000 - 1010 1000 - 0000 0000 - 0000 0000
…
192.168.0.255 = 1100 0000 - 1010 1000 - 0000 0000 - 1111 1111
All contents © MuleSoft, LLC
Choosing your CIDR block
33
CIDR Block Size
Number of Bits We
Care About
Number of Bits We
DON’T Care About
Exponential Notation Number of Addresses
/24 24 8 28 256
/23 23 9 29 512
/22 22 10 210 1,024
/21 21 11 211 2,048
/20 20 12 212 4,096
/19 19 13 213 8,192
/18 18 14 214 16,384
/17 17 15 215 32,768
/16 16 16 216 65,536
Note: MuleSoft only allows between /16 and /24 CIDR block sizes
All contents © MuleSoft, LLC
Why does the CIDR block size matter?
34
• The size is very important because having a short block might cause your deployment to run
out of IPs in a short-medium term and then not able to deploy apps in the VPC.
• The moment we connect this VPC to our Data Center, using a VPN or a VPC peering, that
CIDR block will become part of our internal network and it will consume private IP addresses
from your internal addressing space → it's important not to oversize your VPC, as it will take
out more IPs than necessary from your internal network.
All contents © MuleSoft, LLC
How do we estimate the number of IPs we need?
35
Remember: The number of IP addresses in your CIDR block isn’t the same as the number of
applications you can deploy
You need to consider:
• Number of Workers
• Horizontal Scaling and High Availability
• Fault Tolerance (Region of the VPC)
• Zero Down-Time
• Number of Environments
All contents © MuleSoft, LLC
CIDR Block - Examples
36
EXAMPLE 1: 172.16.1.0/24 → 256 IP addresses
• IPs 172.16.1.0 and 172.16.1.255 are reserved --> 254 IPs
• FT required → Region of deployment: Frankfurt, 3 AZs --> 254/3 = 84
• 1 Environments: Production → 84
• Zero Downtime 84/2 = 42
• Total: 42 apps
All contents © MuleSoft, LLC
CIDR Block - Examples
37
EXAMPLE 2: What size do we need for the non production (Dev, QA and Test) VPC for the
previous example?
- 42 apps to deploy
- HA required (x2)
- 3 environments
- Zero Downtime (x2)
- Total: 42 x 2 x 3 x2 = 504 IPs needed 🡪 /23
All contents © MuleSoft, LLC
Summary
All contents © MuleSoft, LLC
Summary
40
REGION
CIDR BLOCK
ENVIRONMENTS
BUSINESS GROUPS
All contents © MuleSoft, LLC
Questions?
All contents © MuleSoft, LLC
Thank you!

More Related Content

What's hot

Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10D.Rajesh Kumar
 
#3 calicut meetup - understanding slb, dlb and web sockets
#3   calicut meetup - understanding slb, dlb and web sockets#3   calicut meetup - understanding slb, dlb and web sockets
#3 calicut meetup - understanding slb, dlb and web socketsJohnMathewPhilip
 
Rtf externalize tls MuleSoft meetup
Rtf externalize tls MuleSoft meetupRtf externalize tls MuleSoft meetup
Rtf externalize tls MuleSoft meetupSandeep Deshmukh
 
MuleSoft Kochi Meetup #3– Integration with Web Sockets
 MuleSoft Kochi Meetup #3– Integration with Web Sockets MuleSoft Kochi Meetup #3– Integration with Web Sockets
MuleSoft Kochi Meetup #3– Integration with Web Socketssumitahuja94
 
Mumbai MuleSoft Meetup #18
Mumbai MuleSoft Meetup #18Mumbai MuleSoft Meetup #18
Mumbai MuleSoft Meetup #18Akshata Sawant
 
Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0D.Rajesh Kumar
 
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load BalancerNashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load BalancerJitendra Bafna
 
Meet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalMeet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalAkshata Sawant
 
Anypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupAnypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupMergeStack
 
Service Mesh - Why? How? What?
Service Mesh - Why? How? What?Service Mesh - Why? How? What?
Service Mesh - Why? How? What?Orkhan Gasimov
 
MuleSoft Meetup Bangalore - March 6 2021
MuleSoft Meetup Bangalore - March 6 2021MuleSoft Meetup Bangalore - March 6 2021
MuleSoft Meetup Bangalore - March 6 2021Nagaraju K R
 
Mumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQLMumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQLAkshata Sawant
 
What is SSL/TLS, 1-way and 2-way SSL?
What is SSL/TLS, 1-way and 2-way SSL?What is SSL/TLS, 1-way and 2-way SSL?
What is SSL/TLS, 1-way and 2-way SSL?pqrs1234
 
Meet up slides_mumbai_21032020_final
Meet up slides_mumbai_21032020_finalMeet up slides_mumbai_21032020_final
Meet up slides_mumbai_21032020_finalAkshata Sawant
 
MuleSoft Meetup Adelaide 7th April 2021
MuleSoft Meetup Adelaide 7th April 2021MuleSoft Meetup Adelaide 7th April 2021
MuleSoft Meetup Adelaide 7th April 2021Nicholas Bowman
 
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Mulesoft with ELK (Elastic Search, Log stash, Kibana)Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Mulesoft with ELK (Elastic Search, Log stash, Kibana)Gaurav Sethi
 
Custom MuleSoft connector using Java SDK
Custom MuleSoft connector using Java SDKCustom MuleSoft connector using Java SDK
Custom MuleSoft connector using Java SDKAmit Singh
 
MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021Julian Douch
 

What's hot (20)

Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10Bangalore mulesoft meetup#10
Bangalore mulesoft meetup#10
 
#3 calicut meetup - understanding slb, dlb and web sockets
#3   calicut meetup - understanding slb, dlb and web sockets#3   calicut meetup - understanding slb, dlb and web sockets
#3 calicut meetup - understanding slb, dlb and web sockets
 
Rtf externalize tls MuleSoft meetup
Rtf externalize tls MuleSoft meetupRtf externalize tls MuleSoft meetup
Rtf externalize tls MuleSoft meetup
 
MuleSoft Kochi Meetup #3– Integration with Web Sockets
 MuleSoft Kochi Meetup #3– Integration with Web Sockets MuleSoft Kochi Meetup #3– Integration with Web Sockets
MuleSoft Kochi Meetup #3– Integration with Web Sockets
 
Mumbai MuleSoft Meetup #18
Mumbai MuleSoft Meetup #18Mumbai MuleSoft Meetup #18
Mumbai MuleSoft Meetup #18
 
Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0Mule soft meetup_-_finland_september_25th__2020 v2.0
Mule soft meetup_-_finland_september_25th__2020 v2.0
 
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load BalancerNashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
 
Meet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_finalMeet up slides_mumbai_05022020_final
Meet up slides_mumbai_05022020_final
 
Anypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupAnypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetup
 
Service Mesh - Why? How? What?
Service Mesh - Why? How? What?Service Mesh - Why? How? What?
Service Mesh - Why? How? What?
 
MuleSoft Meetup Bangalore - March 6 2021
MuleSoft Meetup Bangalore - March 6 2021MuleSoft Meetup Bangalore - March 6 2021
MuleSoft Meetup Bangalore - March 6 2021
 
Mumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQLMumbai MuleSoft Meetup #17 - GraphQL
Mumbai MuleSoft Meetup #17 - GraphQL
 
Meetup bangalore-may22nd2021
Meetup bangalore-may22nd2021Meetup bangalore-may22nd2021
Meetup bangalore-may22nd2021
 
Mule meetup 25thjan
Mule meetup 25thjanMule meetup 25thjan
Mule meetup 25thjan
 
What is SSL/TLS, 1-way and 2-way SSL?
What is SSL/TLS, 1-way and 2-way SSL?What is SSL/TLS, 1-way and 2-way SSL?
What is SSL/TLS, 1-way and 2-way SSL?
 
Meet up slides_mumbai_21032020_final
Meet up slides_mumbai_21032020_finalMeet up slides_mumbai_21032020_final
Meet up slides_mumbai_21032020_final
 
MuleSoft Meetup Adelaide 7th April 2021
MuleSoft Meetup Adelaide 7th April 2021MuleSoft Meetup Adelaide 7th April 2021
MuleSoft Meetup Adelaide 7th April 2021
 
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Mulesoft with ELK (Elastic Search, Log stash, Kibana)Mulesoft with ELK (Elastic Search, Log stash, Kibana)
Mulesoft with ELK (Elastic Search, Log stash, Kibana)
 
Custom MuleSoft connector using Java SDK
Custom MuleSoft connector using Java SDKCustom MuleSoft connector using Java SDK
Custom MuleSoft connector using Java SDK
 
MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021
 

Similar to Meetup milano #3 all you need to know before creating your vpc

VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys MeetupsVPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys MeetupsAngel Alberici
 
Konfigurace sítí v Oracle Cloudu
Konfigurace sítí v Oracle ClouduKonfigurace sítí v Oracle Cloudu
Konfigurace sítí v Oracle ClouduMarketingArrowECS_CZ
 
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29MysoreMuleSoftMeetup
 
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmRevolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmHiveMQ
 
Community Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UKCommunity Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UKVMUG IT
 
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB ArchitectureToronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB ArchitectureAlexandra N. Martinez
 
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLBMuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLBJitendra Bafna
 
Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...
Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...
Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...Cohesive Networks
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQHiveMQ
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventVikalp Bhalia
 
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and EasilyAWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easilyakramemohemat
 
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of NetworkingOpenStack Korea Community
 
MuleSoft Meetup Roma - CloudHub Networking Stategies
MuleSoft Meetup Roma -  CloudHub Networking StategiesMuleSoft Meetup Roma -  CloudHub Networking Stategies
MuleSoft Meetup Roma - CloudHub Networking StategiesAlfonso Martino
 
Cloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlow
Cloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlowCloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlow
Cloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlowCohesive Networks
 
Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...
Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...
Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...Interoute
 
VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...
VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...
VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...VMworld
 
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid CloudVMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid CloudVMworld
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud ComputingUOS
 
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...Amazon Web Services
 

Similar to Meetup milano #3 all you need to know before creating your vpc (20)

VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys MeetupsVPCs, Metrics Framework, Back pressure  : MuleSoft Virtual Muleys Meetups
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
 
Konfigurace sítí v Oracle Cloudu
Konfigurace sítí v Oracle ClouduKonfigurace sítí v Oracle Cloudu
Konfigurace sítí v Oracle Cloudu
 
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
 
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmRevolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
 
Community Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UKCommunity Session: Strategic Private Cloud in SKY UK
Community Session: Strategic Private Cloud in SKY UK
 
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB ArchitectureToronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
Toronto Virtual Meetup #7 - Anypoint VPC, VPN and DLB Architecture
 
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLBMuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
MuleSoft Surat Live Demonstration Virtual Meetup#1 - Anypoint VPC VPN and DLB
 
Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...
Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...
Patrick Kerpan's CSA EMEA Congress presentation "Overlay Networks: Connecting...
 
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQMachine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
Machine to Machine Communication with Microsoft Azure IoT Edge & HiveMQ
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual Event
 
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and EasilyAWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
AWS VPC NOTES _ LEARN AWS EFFECTIVELY and Easily
 
AWS VPC
AWS VPCAWS VPC
AWS VPC
 
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
 
MuleSoft Meetup Roma - CloudHub Networking Stategies
MuleSoft Meetup Roma -  CloudHub Networking StategiesMuleSoft Meetup Roma -  CloudHub Networking Stategies
MuleSoft Meetup Roma - CloudHub Networking Stategies
 
Cloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlow
Cloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlowCloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlow
Cloud Expo New York: OpenFlow Is SDN Yet SDN Is Not Only OpenFlow
 
Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...
Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...
Infrastructure Migration from Windows Server 2003 to the Cloud: An Interoute ...
 
VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...
VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...
VMworld 2013: vCloud Hybrid Service: Enterprise Applications on vCloud Hybrid...
 
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid CloudVMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
VMworld 2015: vCloud Air 2015 – Getting Started with Hybrid Cloud
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
(SDD302) A Tale of One Thousand Instances - Migrating from Amazon EC2-Classic...
 

More from Gonzalo Marcos Ansoain

Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDMulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDGonzalo Marcos Ansoain
 
Milano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce IntegrationMilano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce IntegrationGonzalo Marcos Ansoain
 
Milano Meetup #6 - Training & Certification and Internal Support Models
Milano Meetup #6 - Training & Certification and Internal Support ModelsMilano Meetup #6 - Training & Certification and Internal Support Models
Milano Meetup #6 - Training & Certification and Internal Support ModelsGonzalo Marcos Ansoain
 
Meetup milano #4 Come esternalizzare i log di mule
Meetup milano #4   Come esternalizzare i log di muleMeetup milano #4   Come esternalizzare i log di mule
Meetup milano #4 Come esternalizzare i log di muleGonzalo Marcos Ansoain
 
Meetup milano #4 Anypoint Monitoring and Titanium overview
Meetup milano #4   Anypoint Monitoring and Titanium overviewMeetup milano #4   Anypoint Monitoring and Titanium overview
Meetup milano #4 Anypoint Monitoring and Titanium overviewGonzalo Marcos Ansoain
 
Innovation Talks @ Konica Minolta Portugal
Innovation Talks @ Konica Minolta PortugalInnovation Talks @ Konica Minolta Portugal
Innovation Talks @ Konica Minolta PortugalGonzalo Marcos Ansoain
 
SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...
SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...
SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...Gonzalo Marcos Ansoain
 
Creando Plataformas de Colaboracion Efectivas
Creando Plataformas de Colaboracion EfectivasCreando Plataformas de Colaboracion Efectivas
Creando Plataformas de Colaboracion EfectivasGonzalo Marcos Ansoain
 
Novedades SharePoint 2016. Nuevos retos en Entonos Hibridos
Novedades SharePoint 2016. Nuevos retos en Entonos HibridosNovedades SharePoint 2016. Nuevos retos en Entonos Hibridos
Novedades SharePoint 2016. Nuevos retos en Entonos HibridosGonzalo Marcos Ansoain
 
Come creare Piattaforme di Collaborazione Efficienti
Come creare Piattaforme di Collaborazione EfficientiCome creare Piattaforme di Collaborazione Efficienti
Come creare Piattaforme di Collaborazione EfficientiGonzalo Marcos Ansoain
 
Building effective business collaboration platforms
Building effective business collaboration platformsBuilding effective business collaboration platforms
Building effective business collaboration platformsGonzalo Marcos Ansoain
 
Five ways to smash barriers to SharePoint adoption
Five ways to smash barriers to SharePoint adoptionFive ways to smash barriers to SharePoint adoption
Five ways to smash barriers to SharePoint adoptionGonzalo Marcos Ansoain
 

More from Gonzalo Marcos Ansoain (13)

Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CDMulesoft Meetup Milano #9 - Batch Processing and CI/CD
Mulesoft Meetup Milano #9 - Batch Processing and CI/CD
 
Milano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce IntegrationMilano Meetup #8 - Testing & Salesforce Integration
Milano Meetup #8 - Testing & Salesforce Integration
 
Milano Meetup #6 - Training & Certification and Internal Support Models
Milano Meetup #6 - Training & Certification and Internal Support ModelsMilano Meetup #6 - Training & Certification and Internal Support Models
Milano Meetup #6 - Training & Certification and Internal Support Models
 
Meetup milano #4 Come esternalizzare i log di mule
Meetup milano #4   Come esternalizzare i log di muleMeetup milano #4   Come esternalizzare i log di mule
Meetup milano #4 Come esternalizzare i log di mule
 
Meetup milano #4 Anypoint Monitoring and Titanium overview
Meetup milano #4   Anypoint Monitoring and Titanium overviewMeetup milano #4   Anypoint Monitoring and Titanium overview
Meetup milano #4 Anypoint Monitoring and Titanium overview
 
Nintex 3.0 Introduction
Nintex 3.0 IntroductionNintex 3.0 Introduction
Nintex 3.0 Introduction
 
Innovation Talks @ Konica Minolta Portugal
Innovation Talks @ Konica Minolta PortugalInnovation Talks @ Konica Minolta Portugal
Innovation Talks @ Konica Minolta Portugal
 
SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...
SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...
SharePoint Saturday @ Firenze - Building Effective Business Collaboration Pla...
 
Creando Plataformas de Colaboracion Efectivas
Creando Plataformas de Colaboracion EfectivasCreando Plataformas de Colaboracion Efectivas
Creando Plataformas de Colaboracion Efectivas
 
Novedades SharePoint 2016. Nuevos retos en Entonos Hibridos
Novedades SharePoint 2016. Nuevos retos en Entonos HibridosNovedades SharePoint 2016. Nuevos retos en Entonos Hibridos
Novedades SharePoint 2016. Nuevos retos en Entonos Hibridos
 
Come creare Piattaforme di Collaborazione Efficienti
Come creare Piattaforme di Collaborazione EfficientiCome creare Piattaforme di Collaborazione Efficienti
Come creare Piattaforme di Collaborazione Efficienti
 
Building effective business collaboration platforms
Building effective business collaboration platformsBuilding effective business collaboration platforms
Building effective business collaboration platforms
 
Five ways to smash barriers to SharePoint adoption
Five ways to smash barriers to SharePoint adoptionFive ways to smash barriers to SharePoint adoption
Five ways to smash barriers to SharePoint adoption
 

Recently uploaded

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 

Recently uploaded (20)

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 

Meetup milano #3 all you need to know before creating your vpc

  • 1. All contents © MuleSoft, LLC All You Need to Know Before Creating Your VPC MuleSoft Meetup - Milano Gonzalo Marcos – Senior Technical Architect May 2021
  • 2. All contents © MuleSoft, LLC Agenda 1. Introductions 2. What is a Mule VPC? 3. Do I need a VPC? 4. How Many VPCs do I need? 5. How to choose your CIDR block 6. Summary 2
  • 3. All contents © MuleSoft, LLC Creating a VPC is simple… 3 REGION CIDR BLOCK ENVIRONMENTS BUSINESS GROUPS
  • 4. All contents © MuleSoft, LLC What is a Mule VPC?
  • 5. All contents © MuleSoft, LLC Mulesoft Shared Worker Cloud 5
  • 6. All contents © MuleSoft, LLC What is a VPC? 6 A Virtual Private Cloud (VPC) dedicated space in CloudHub specifically for an organization to deploy their applications Allows you to have a dedicated range of IP addresses specifically to your Mulesoft Organization within an AWS Region
  • 7. All contents © MuleSoft, LLC Anatomy of a VPC 7
  • 8. All contents © MuleSoft, LLC What is a VPC? 8
  • 9. All contents © MuleSoft, LLC Do I need a VPC?
  • 10. All contents © MuleSoft, LLC When do we need a VPC? 11 • Connectivity to your Data Center • Isolation • Custom Domain for your Apps • Custom Certificates • Mutual TLS
  • 11. All contents © MuleSoft, LLC Connectivity to your Data Center 12 You can connect your AnyPoint VPC to your private network using the following methods: • VPN - IPsec Tunnel • VPC Peering • CloudHub Direct Connect
  • 12. All contents © MuleSoft, LLC Isolation 16 Traffic Segregation Security
  • 13. All contents © MuleSoft, LLC Isolation – Firewall Rules 18
  • 14. All contents © MuleSoft, LLC Isolation – Traffic Segmentation 19 - It’s a good practice to isolate all the traffic between production and non production environments - Differentiating traffic between business units in the same organization.
  • 15. All contents © MuleSoft, LLC Need for a Dedicated Load Balancer 20 • Use of Custom Domain names (Vanity Domains) • Use of Custom Certificates • Mutual TLS • Traffic Segregation 🡪 Limit internal and External traffic
  • 16. All contents © MuleSoft, LLC How many VPCs do I need?
  • 17. All contents © MuleSoft, LLC Where is your backend? 22 • Your VPC should be as close as possible to your backend systems • A Mule VPC is created in an AWS region → is your backend located in only one region or is it geographically distributed? • Two options for distributed backend systems: – One VPC + connections (VPN/VPC Peering/AWS DX) to your multiple data centers – One VPC per region + connections • Pay attention to your Control Plane location!! (EU/US)
  • 18. All contents © MuleSoft, LLC Isolation – Business Groups 23 • Business Groups are a great solution to separate and control access to AnyPoint resources. • A VPC is a resource that can be created at the master org and also at a Business Group level • A VPC is only shared vertically down, not up or across.
  • 19. All contents © MuleSoft, LLC Isolation – Business Groups 24 • If you don't have any requirement of isolation between the BGs of your org the recommendation is to create your VPC at the master Org
  • 20. All contents © MuleSoft, LLC Isolation - Environments 25 • Environments get associated to a VPC. • We can have multiple environments in the same VPC but each environment can be associated to only one VPC. • One environment cannot be part of two VPCs. • Every app gets deployed to an environment and that environment is associated to a VPC.
  • 21. All contents © MuleSoft, LLC Isolation - Environments 26 • This provides us with a mechanism of isolation for our apps. • The recommendation is to have a minimum of two VPCs. One for production environments and one for non production environments (Dev, QA, Staging, Test). • In some other cases a VPC per environment is required.
  • 22. All contents © MuleSoft, LLC How to Choose Your CIDR Block
  • 23. All contents © MuleSoft, LLC The basics – What’s an IP address? • It’s a numerical representation of a location within a network • That number is a binary number and it’s 32 bits long • For better readability we divide those 32 bits in 4 blocks and use a decimal value for each block • Each decimal number ranges from 0-255 Smallest IP Address: 0.0.0.0 Binary: 0000 0000 - 0000 0000 - 0000 0000 - 0000 0000 Largest IP Address: 255.255.255.255 Binary: 1111 1111 - 1111 1111 - 1111 1111 - 1111 1111
  • 24. All contents © MuleSoft, LLC What is CIDR? 30 • Classless Inter-Domain Routing notation • The notation identifies the network and the host in that network • IP addresses are described as consisting of two groups of bits in the address: the most significant bits are the network prefix, which identifies a whole network or subnet, and the least significant set forms the host identifier, which specifies a particular interface of a host on that network. 192.168.0.0/24 example 192.168.0.0 = 1100 0000 - 1010 1000 - 0000 0000 - 0000 0000 … 192.168.0.255 = 1100 0000 - 1010 1000 - 0000 0000 - 1111 1111
  • 25. All contents © MuleSoft, LLC Choosing your CIDR block 33 CIDR Block Size Number of Bits We Care About Number of Bits We DON’T Care About Exponential Notation Number of Addresses /24 24 8 28 256 /23 23 9 29 512 /22 22 10 210 1,024 /21 21 11 211 2,048 /20 20 12 212 4,096 /19 19 13 213 8,192 /18 18 14 214 16,384 /17 17 15 215 32,768 /16 16 16 216 65,536 Note: MuleSoft only allows between /16 and /24 CIDR block sizes
  • 26. All contents © MuleSoft, LLC Why does the CIDR block size matter? 34 • The size is very important because having a short block might cause your deployment to run out of IPs in a short-medium term and then not able to deploy apps in the VPC. • The moment we connect this VPC to our Data Center, using a VPN or a VPC peering, that CIDR block will become part of our internal network and it will consume private IP addresses from your internal addressing space → it's important not to oversize your VPC, as it will take out more IPs than necessary from your internal network.
  • 27. All contents © MuleSoft, LLC How do we estimate the number of IPs we need? 35 Remember: The number of IP addresses in your CIDR block isn’t the same as the number of applications you can deploy You need to consider: • Number of Workers • Horizontal Scaling and High Availability • Fault Tolerance (Region of the VPC) • Zero Down-Time • Number of Environments
  • 28. All contents © MuleSoft, LLC CIDR Block - Examples 36 EXAMPLE 1: 172.16.1.0/24 → 256 IP addresses • IPs 172.16.1.0 and 172.16.1.255 are reserved --> 254 IPs • FT required → Region of deployment: Frankfurt, 3 AZs --> 254/3 = 84 • 1 Environments: Production → 84 • Zero Downtime 84/2 = 42 • Total: 42 apps
  • 29. All contents © MuleSoft, LLC CIDR Block - Examples 37 EXAMPLE 2: What size do we need for the non production (Dev, QA and Test) VPC for the previous example? - 42 apps to deploy - HA required (x2) - 3 environments - Zero Downtime (x2) - Total: 42 x 2 x 3 x2 = 504 IPs needed 🡪 /23
  • 30. All contents © MuleSoft, LLC Summary
  • 31. All contents © MuleSoft, LLC Summary 40 REGION CIDR BLOCK ENVIRONMENTS BUSINESS GROUPS
  • 32. All contents © MuleSoft, LLC Questions?
  • 33. All contents © MuleSoft, LLC Thank you!