AWS Classroom Series – 10/Nov/2020

Hybrid Network – Connecting On-Premises and AWS

  • Scenario: On-Premise and AWS VPC Preview
  • Two connect b/w two networks on-premise and VPC we have two options in Site-to-Site
    • Using Public internet Preview
    • Using AWS Direct Connect Preview

VPC Endpoints

  • A VPC endpoint enables private connection b/w your vpc and AWS Services. There are two types of endpoints:
    • interface endpoint:
      • it is a elastic network interface with private ip address range of your subnet that serves as an entry point to the destined service
    • gateway endpoint:
      • Is a gateway that you specify as a target for a route in route table to supported AWS Service. Gateway endpoint is supported for S3 and Dynamo db
  • Refer Here for AWS service that you can use with AWS Private link

Lab Setup

  • Launch an aws ubuntu instance
  • install lamp server in ubunut 18 instance by following the steps below or Refer Here for documentation
  • Install a tool called as stress
  • create an ami from this ubuntu instance
  • Steps
sudo apt-get update
sudo apt-get install apache2 -y
sudo apt-get install php libapache2-mod-php php-mysql -y
sudo apt-get install php-cli
sudo -i
echo "<?php phpinfo(); ?>" > /var/www/html/info.php
exit
sudo apt install stress -y
  • Now navigate to http://publicip/info.php Preview
  • Now navigate to ec2 instances Preview Preview Preview
  • Wait till the image is created and then delete ec2 instance. Preview

Leave a Reply

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

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

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