Naan
Naan
Naan
AIM:
AWS Identity and Access Management (IAM) is a web service that enables Amazon Web
Services (AWS) customers to manage users and user permissions in AWS. With IAM, you can
centrally manage users, security credentials such as access keys, and permissions that
control which AWS resources users can access.
PROCEDURE:
Accessing the AWS Management Console:
1. At the top of these instructions, click Start Lab to launch your lab.
A Start Lab panel opens displaying the lab status.
2. Wait until you see the message "Lab status: ready", then click the X to close the Start
Lab panel.
3. At the top of these instructions, click AWS
This will open the AWS Management Console in a new browser tab. The system will
automatically log you in.
4. Arrange the AWS Management Console tab so that it displays along side these
instructions. Ideally, you will be able to see both browser tabs at the same time, to make it
easier to follow the lab steps.
Business Scenario
For the remainder of this lab, you will work with these Users and Groups to enable
permissions supporting the following business scenario:
Your company is growing its use of Amazon Web Services, and is using many Amazon EC2
instances and a great deal of Amazon S3 storage. You wish to give access to new staff
depending upon their job function.
42. Paste the IAM users sign-in link into your private window and press Enter.
This links should be in your text editor.
43. Sign-in with:
IAM user name: user-2
Password: lab-password
44. In the Services menu, click EC2.
45. In the navigation pane on the left, click Instances.
You are now able to see an Amazon EC2 instance because you have Read Only permissions.
However, you will not be able to make any changes to Amazon EC2 resources.
If you cannot see an Amazon EC2 instance, then your Region may be incorrect. In the top-
right of the screen, pull-down the Region menu and select the region that you noted at the
start of the lab (eg Oregon).
Your EC2 instance should be selected . If it is not selected, select it.
46. In the Actions menu, click Instance State > Stop.
47. In the Stop Instances window, click Yes, Stop.
You will receive an error stating You are not authorized to perform this operation. This
demonstrates that the policy only allows you to information, without making changes.
48. At the Stop Instances window, click Cancel.
Next, check if user-2 can access Amazon S3.
49. In the Services, click S3.
You will receive an Error Access Denied because user-2 does not permission to use Amazon
S3.
You will now sign-in as user-3, who has been hired as your Amazon EC2 administrator.
50. Sign user-2 out of the AWS Management Console by configuring the following:
At the top of the screen, click user-2
Click Sign Out
51. Paste the IAM users sign-in link into your private window and press Enter.
52. Paste the sign-in link into your web browser address bar again. If it is not in your
clipboard, retrieve it from the text editor where you stored it earlier.
53. Sign-in with:
IAM user name: user-3
Password: lab-password
54. In the Services menu, click EC2.
55. In the navigation pane on the left, click Instances.
As an EC2 Administrator, you should now have permissions to Stop the Amazon EC2
instance.
Your EC2 instance should be selected . If it is not, please select it.
If you cannot see an Amazon EC2 instance, then your Region may be incorrect. In the top-
right of the screen, pull-down the Region menu and select the region that you noted at the
start of the lab (eg Oregon).
56. In the Actions menu, click Instance State > Stop.
57. In the Stop Instances window, click Yes, Stop.
The instance will enter the stopping state and will shut down.
58. Close your private window.
OUTPUT:
RESULT:
Thus the AWS Identity and Access Management was successfully executed and the
output was verified.
EX.NO:2 BULID YOUR VPC AND LAUNCH A WEB SERVER.
DATE:
AIM:
AWS Virtual Private Cloud (VPC) provides networking functionality to Compute Engine
virtual machine (VM) instances, Google Kubernetes Engine (GKE) clusters, and serverless
workloads. VPC provides networking for your cloud-based resources and services that is
global, scalable, and flexible.
PROCEDURE:
Accessing the AWS Management Console
1. At the top of these instructions, choose Start Lab to launch your lab.
A Start Lab panel opens displaying the lab status.
2. Wait until you see the message "Lab status: ready", then choose the X to close the
Start Lab panel.
3. At the top of these instructions, choose AWS
This will open the AWS Management Console in a new browser tab. The system will
automatically log you in.
Tip: If a new browser tab does not open, there will typically be a banner or icon at the top of
your browser indicating that your browser is preventing the site from opening pop-up
windows. Choose on the banner or icon and choose "Allow pop ups."
4. Arrange the AWS Management Console tab so that it displays along side these
instructions. Ideally, you will be able to see both browser tabs at the same time, to make it
easier to follow the lab steps.
AIM:
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable
compute capacity in the cloud. It is designed to make web-scale cloud computing easier for
developers. Amazon EC2's simple web service interface allows you to obtain and configure
capacity with minimal friction. It provides you with complete control of your computing
resources and lets you run on Amazon's proven computing environment.
PROCEDURE:
Accessing the AWS Management Console
1. At the top of these instructions, choose Start Lab to launch your lab. A Start Lab panel
opens displaying the lab status.
2. Wait until you see the message "Lab status: ready", then choose the X to close the Start
Lab panel.
3. At the top of these instructions, choose AWS This will open the AWS Management
Console in a new browser tab. The system will automatically log you in.
Tip: If a new browser tab does not open, there will typically be a banner or icon at the top of
your browser indicating that your browser is preventing the site from opening pop-up
windows. Choose on the banner or icon and choose "Allow pop ups."
4. Arrange the AWS Management Console tab so that it displays along side these
instructions. Ideally, you will be able to see both browser tabs at the same time, to make it
easier to follow the lab steps.