Cloud Computing
Assignment: VPC
Learning Objectives
In this assignment you will learn how to:
- Setup a VPC in AWS with a public and private subnet
- Create and use a bastion host (Links to an external site.)
- Set routing rules for your VPC
- Use SSH agent forwarding
- Add additional SSH keys to your instances
Requirements
You must create a VPC in AWS meeting the following specifications. Note: you are strongly encouraged to make use of the VPC Wizard:
- All resources, e.g. instances, VPC, subnets, route tables, must have their name set. See, for instance, the screenshot below showing the private subnet route table.
- A VPC using the CIDR block 172.16.8.0/22
- A public subnet on the 172.16.8.0 subnet with space for 59 hosts (IP addresses)
- A private subnet on the 172.16.10.0 subnet with space for 507 hosts (IP addresses)
- Create an Amazon Linux Bastion Host in the public subnet (security group should include IP of VPC infrastructure tester, see link at the end).
- Create an Ubuntu instance in your private subnet using the basic-ubuntu.sh (Links to an external site.) script (without the call to sudo apt-get upgrade). NOTE: The instance should not have a Public DNS
- Add the Staff Cloud Computing Key to both your Bastion host and Ubuntu instance as described in HowTo: Add Staff Cloud Computing Key to Your EC2 Instance
What to submit
Zip the following in a file named screenshots.zip and attach the zip file to this assignment.
- Put the public IP of your bastion host and the private IP of your Ubuntu instance in a text file.
- Screenshot of your EC2 page from the AWS console showing your bastion host running selected so as to show its details in a file named ec2-bastion.png or ec2-bastion.jpg. For example,
- Screenshot of your EC2 page from the AWS console showing your Ubuntu instance running selected so as to show its details in a file named ec2-ubuntu-inst.png or ec2-ubuntu-inst.jpg.
- Go to VPC infrastructure testing page (Links to an external site.) and enter your USF net id(kbidlack), Bastion public IP and Ubuntu private IP. Click ‘Test setup’ and check result log. If you have any errors, infrastructure tester should inform you. Create screenshot vpc-test.jpg or vpc-test.png with check log (similar to provided one) and add to screenshots.zip as part of submission.
Get expert help for Cloud Computing VPC and many more. 24X7 help, plag free solution. Order online now!