AWS Classroomnotes 03/Apr/2022

Accessing the Application in EC2 via LB with DNS Record (Route 53)

  • We have create a DNS Record in the previous session. Now lets access the application by domain name http://www.awsbykhaja.online/info.php
    Preview

Activity 1:

  • Create a vpc with 2 public subnets and 4 private subnets in mumbai region
  • So if you have to create the similar vpc for about 100 times in a month creating from console is not a sensible option.
  • For Automation purposes we have two options
    • Infra Provisioning using CloudFormation/Terraform
    • AWS CLI
  • Our focus will be using AWS CLI
    Preview
  • After installing aws cli
    Preview
  • Now we need a way to login into our AWS Account. For that we need to create an IAM user Refer Here
    Preview
  • Now lets configure the AWS CLI to use the ACCESS Key ID and Secret KEy id
    Preview
    Preview
  • To do the activity lets list down the steps
    • Create a vpc
    • Add subnets
    • Add internet gateway and attach to the vpc
    • Create a route table make it public
    • Create a route table & make it private
    • Attach public route table to two subnets
    • Attach private route table to 4 subnets.
  • Lets find the command for creating vpc
    Preview
  • Then open the page Refer Here
    Preview
  • The command line so far will be aws ec2 create-vpc
  • Now Navigate to synopsis
    Preview
  • Now Navigate to options
    Preview
  • Now Navigate to Examples
    Preview
  • Now the output structure will be defined in output section
    Preview
  • When we work with aws cli, the id is very important for whatever which we create.
  • Lets start building commands
    Preview
    Preview
  • To create subnet Refer Here or search for commands Refer Here
    Preview
  • Create internet gateway and attach to vpc
    Preview
  • Next Steps will be exercise for you.
  • Refer Here for the steps done in the class
  • Exercise: Create a peering connection between two vpcs using cli.

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube