Skip to main content

Creating a VPC - Part 1

A VPC is your very own private cloud within AWS.  Think of it as a DataCenter that you build with your own specifications and will be the place you build and deploy your cloud environment.

In this article, I will teach you how to create a Custom VPC within AWS.  Please note that this is different from the default VPCs that AWS creates for you when you setup an account.

What you will need:
1. An AWS account (Creating and AWS Free Tier account)
2. Location of your target end users
3. Number of Private and/or Public subnets required
4. A Network CIDR range of your choice depending on your requirements

There are 2 ways to create VPCs.
1. Using the VPC Wizard
2. Creating VPC from scratch

For demonstration purposes let us assume these requirements: 
1. End users are located in the US Northern Virginia
2. You need 1 Private subnet with outbound access to the internet and 1 Public subnet
3. CIDR 10.0.0.0/16


Method 1: Creating a VPC using the VPC Wizard

1. Login to the AWS management console using your Admin account.
2. Select your  location based on where your end users will be (US N. Virginia).
3. Click "Services", then scroll down to Network & Content Delivery
    and then click "VPC"
4. Since we are required to have a Private Subnet with outbound access to the
    internet, we will need a NAT Gateway.  NAT Gateways require an Elastic IP
    address which we need to setup first before launching the VPC Wizard.
    To set this up,  from the navigation pane choose "Elastic IPs"
5.  Click "Allocate new address" then just select "Amazon pool" then
     click "Allocate".  Click "Close" when done
6. Go back to the VPC Management Console.
7. In the VPC Management Console click on "Launch VPC Wizard"
8. You will now be presented with 4 options:
  1.     VPC with a Single Public Subnet
  2.     VPC with Public and Private Subnets
  3.     VPC with Public and Private Subnets and Hardware VPN
  4.     VPC with a Private Subnet Only and Hardware VPN Access
    Since in our requirements we need a Private and a Public subnet,
    we will choose option 2.
      Click "Select"
9.   Provide a name for your VPC.  In this case I named it: MyFirstVPC
10. Configure your Network CIDR blocks for the VPC and your subnets.
      Make sure to always allocate more available IP addresses than what is
      required for future expansions and to allow for autoscaling on your
      deployed instances.
      In this case, the VPC CIDR Block I chose is: 10.0.0.0/16
      Public CIDR block: 10.0.0.0/24
      Private CIDR block: 10.0.1.0/24
      I have also named my Public and Private subnets:
      MyPublicSN and MyPrivateSN.
      Regarding the Availability Zone to create the subnets on, I just left it with
      the defaults. But you can definitely specify which one depending on your
      strategic deployment.
      Next is you have to allocate the Elastic IP you created for the NAT Gateway.
      Click the "Elastic IP Allocation ID:" box and you will find the Elastic IP you
      have created from the list. Click it to select.
      You can leave the rest of the other settings on defaults unless you have a
      specific requirement for them.
      Click "Create VPC" after confirming your settings.  
 11. It may take a few moments to create your VPC.  Once it has been created,
       you will see a confirmation on the screen.


Comments

Popular posts from this blog

AWS Builders' Day in Calgary!

Good new my fellow Calgarians! AWS is hosting a full day technical event here in Calgary. The details of the event are as follows: Date: April 30, 2019 (Tuesday) Time: 9:00 am - 5:00 pm (Mountain Time) Location: Delta Hotel by Marriott - Downtown Calgary                  209 4th Ave SE, Calgary AB T2G 0C6 ( view map ) Additional info:   This is an all day free event.  breakfast and lunch will be provided. What to expect from the event: In this event you will get a chance to build Intelligent Data Lakes using AWS Big Data & Analytics and AI/ML Services that you can definitely take back and use in your organization.  There will be multiple Deep dive sessions on the related services as well as workshops to allow you to have a hands on feel of the technology. By the end of the day,  you would have built yourself a functional cloud-native and future-proof Serverless data lake architecture. AWS Technologies that will be discussed: Amazon Kinesis Firehose AWS Glue

AWS Services Updates & New Services (2019)

It has been a while since I last posted the list of AWS Services.  Since then, there has been significant changes in their service offerings.  Here is a list of all the changes and new services released to date. It's been organized by Categories for you. AWS Game Development: -  No changes or additional new services AWS IoT - IoT Device Defender - IoT Events - IoT SiteWise - IoT Things Graph AWS Desktop & App Streaming (Now: End User Computing) - WorkDocs - WorkLink AWS Business Productivity (Now: Business Applications) -  WorkDocs has been removed from this category and transferred to End User Computing AWS Customer Engagement -  No changes or additional new services AWS Application Integration Services -  No changes or additional new services AWS AR & VR Services -  No changes or additional new services AWS Mobile Services - AWS Amplify - Mobile SDK for Android - Mobile SDK for iOS - Mobile SDK for Unity - Mobile SDK for Xamarin - Pinpoi

AWSome Day in Calgary!

AWSome Day is back in Calgary my friends!  The Date is June 13, 2019 Thursday.   Time to get that date blocked off and reserved so you can spend a whole day learning about the Core AWS Services. For those of you who have missed last year's event.  Now is the time to register and be part of this all day free event hosted by AWS. About the event: This will be a one-day introduction and training on the CORE AWS Services namely: Compute Storage Database Networking The services' key features will be discussed as well as an overview of practical application through use cases.  Industry best practices will also be shared and technical demos on how to build out and configure the services will be provided. Who should join the event: IT Infrastructure managers considering Cloud Adoption Enterprise Architects and Solutions Architects Project Managers who manage Cloud based projects Systems and Network Administrators and Analysts Datacenter Administrators and Ana