LIST OF EXPERIMENTS
S. NO. TITLE
1 How to create free tier account on AWS
2 How to enable multifactor authentication on AWS
3 How to create IMS user in AWS
4 How to group in AWS
5 How to attach different policy in IAM user
6 How to create s3 bucket
7 How to upload any object in s3 bucket
8 How to create windows instance in AWS
9 How to create linum instance in AWS
10 How to host static websites with the use of s3 in
AWS
EXPERIMENT 1
TITLE : How to create free tier account on AWS
Step 1:
First Open your web browser and navigate to the AWS Free
Tier Page
Step 2:
On the middle click of Create a Free Account
Step 3:
Verify your email address.
Provide password: Provide the details that you want to use
to log in to your AWS account and click on Continue
Email address: Enter the email ID that hasn’t registered
yet with Amazon AWS
Password: Type your Password
Confirm password: Confirm the Password
Captcha: enter the given security check
Step 4:
Contact Information
Select your AWS type (Professional/ Personal) Fill in the
correct information to validate your account if you’re going
to create personal use then click on “Personal
Account” else use “Company Account”, Accept the Terms
and
condition and then click on Create Account and Continue
Step 5:
Payment and PAN information: In this step, you must
fill in your credit card /Debit Card info and billing address
and click on Secure Submit.
Step 6:
In this step, it will take you to the payment gateway to
validate your payment information and for your credit card
verification, Amazon will charge the minimum price based
on Country. Here I have provided India, so Amazon
charged 2 INR.
Step 7:
Phone verification: Here you will be taken to an identity
verification page that will already have your phone
number, so you just have to select either “Text message or
Voice call” Provide a valid phone number, Solve the
captcha, and then click on Send SMS or Call Me Now
(depending upon your selection).
Step 8:
After clicking on Send SMS or Call me Now, you will
immediately receive a call or SMS from Amazon, for
verification code, enter your code then click on Verify
Code.
Step 9:
Support plan: AWS support offers a selection of plans to
meet your business needs.
Select your suitable plan then click continue.
Step 10:
Registration Confirmation page.
Once you completed all the above steps and processes.
You’ll get the confirmation page below. Now your account
will be processed for activation. It may take somewhere
between 30 minutes to 1 hour for you to receive an email
confirmation that your Amazon Cloud Services account
has been activated.
EXPERIMENT 2
TITLE : How to enable multi factor authentication on AWS
step 1 : Configure your RADIUS/MFA concept Microsoft. AD
requests.
(a) Obtain Microsoft AD domain controller (DC) Ip
Address to configure your RADIUS / MFA server.
On directory details page, you will see two DC IP
addresses for your mercy AD directory. Your Microsoft AD
"DC's core ARDTUS clients to your RADIUS, MEA BONIER.
(b) Configure your RADIUS / MFA server to add RADIUS
clients . If your Radius / MFA server Supports DNS
address you will need to create only one Radius When
configuration. Otherwise you must create one. Radius
client configuration for each Microsoft AD each DC,
using DC IP address you obtained in Step 1.
Step2: Configure your Microsoft AD directory enable MFA. to
pen AWS arrangement console, choose service, then
choose your Microsoft AD Directory Wanks.
(c) Choose Multifactor Authentication tab
Enter the inter the following values to conf RADIUS/MFA
server to connect to connect configure your
Your Microsoft AD Directory.
→Enable MFA
→Radius servers IP address
→ Port
→shared secret code
→Confirm shared secret code
→Protocol
→ Server time out . (in sec)
(d) choose Update directory to update Radius/MFA
setting for your directory. The update prosses will take
len than 2 minutes to complete. When Radius /MFA
status changes to completed, Amazon Workspaces will
Amazon Elly prompt to enter their user name and
password Buom on premises AD, as well as an MFA,
code at sign in.
PRACTICAL NO. 03
TITLE : How to create IAM user in AWS.
Step 1 : sign in : as a root user provide username and
password when promoted
step 2 : select user menu : navigate to user screen you will
find it in iam dashboard under the identify and access
management IIM drop down menu on left side of
screen click on user.
Step 3 : add a user : click on add user to navigate to a user
detail form provide all details such as username
Step 4 : set the user permission : click attach existing
policies directly and then filter the policies by
keyboard iam for this user select iam full screen from
list of available policies the iam full access policy
enables this user to create and manage user
permission in AWS.
step 5 Finish : the uses setup click the details of username
EWS access type and permission then click create
user
PRACTICAL NO. 04
TITLE : How to create group in AWS :-
Step 1 : Sign in to to AWS Management console and open IAM
console at [Link]
Step 2 : In the navigation pane, choose the user group and
then create the group.
Step 3: For user group name, type name of the group.
Step 4: In the list of users, select the check box for each user
that you want to add to the group.
Step 5 : In the list of the policies, select the checkbox for each
policy that you want to apply to all members of the
group.
Step 6 : Choose create group.
PRACTICAL NO. 05
Title : How to attach different policy in IAM user :-
Step 1 : To attach an IAM managed policy by a user,
determine Amazon Resources Name ( ARN ) of the
policy to attach the following command user list
policies to find ARN of the policy with name.
Poweruseraccess. It then stores that ARN in an
environment variables.
expert POLICYARN=$(aws iam list-policies –query:
‘Policies[?Policy Name == ‘Power user access’].
{ARN:Arn}’--output test)
echo $POLICYARN
arn:aws-cn:iam::aws:policy/PowerUserAccess
Step 2: To attach the policy, used to attach user policy
command and reference environment variable that
hold the policy ARN
$ aws iam attach-user-policy --[Link]--
policy -arn$POLICYARN
Step 3 : Verify that policy is attached to the user by running
the list-attached-user-policies command.
$ aws [Link]-attached-user-policies --user-name
Myuser
{
“Attached Policies”:[
{
“Policy Name”:“PowerUserAccess”,
“Policy Arn”: “arn:aws-
en:iam::AWS:policy/PowerUserAccess”
}
}
PRACTICAL NO. 06
Title : How to create S3 Bucket :-
Step 1 : Sign in to the preview version of the AWS
management console.
Step 2 : Under the Storage & Content Delivery, choose
S3 to open Amazon S3 console. You are using
the show all services.
Step 3 : From the Amazon S3 console dashboard, choose
create Bucket.
Step 4 : Create a Bucket, type a bucket name in Bucket
Name field. The Bucket Name you choose must
be globally unique across all existing bucket
names in Amazon S3 (that is across all Amazon
customers).
Step 5 : In Region, choose Oregon.
Step 6 : Choose Create. When Amazon S3 successfully
created your bucket, the console displays your
empty bucket in the Bucket Pane.
PRACTICAL NO. 07
Title : How to upload any object in S3 Bucket :-
Step 1 : Open the Amazon S3 console at
[Link]
Step 2: In the buckets list, choose the name of the
bucket that you want to upload your object to.
Step 3 : On the objects tab for your object, choose
Upload.
Step 4 : Under Files and Folders, choose Add files.
Step 5 : Choose a file to upload, and then choose Open.
Step 6 : Choose Upload.
PRACTICAL NO. 08
Title : How to create Windows instance in AWS:-
Step 1 : Sign into AWS Management Console.
Step 2 : Navigate to EC2 Dashboard.
Step 3 : Launch an Instance.
Step 4 : Provide instance name and choose an Amazon
Machine Image(AMI).
Step 5 : Choose an Instance type.
Step 6 : Provide a key pair for EC2 instance.
Step 7 : Network Settings.
Step 8 : Add Storage and select Launch Instance.
Step 9 : Connect to Your Windows Instance.
PRACTICAL NO. 09
Title : How to create Linux Instance in AWS:-
Before you create the instance, complete these steps:
1. Create an AWS account.
2. Open the Amazon.EC2 Console.
3. In the navigation pane, choose your AWS region.
4. Create a key pair to transfer files between your computer
and the instance.
To connect to your Amazon Linux Instance from Windows,
connect to your linux Instance from Windows with Putty. Then
save the .ppk file to the same Folder as the .pem file that you
downloaded.
Launch and connect to your phone:-
After status checks complete and Instance state status is
running, connect to your instance.
To avoid unnecessary changes on your account, stop your
instance when you are not using it. When you are finished with
your instance, terminate the instance to clean it up.
PRACTICAL NO. 10
Title : How to host static websites with the use of S3 in
AWS:-
Step 1. Creating a bucket.
● Open amazon S3 console by logging into AWS
management console at
[Link]
● Click on create Bucket.
● Choose Bucket Name
● AWS region- choose a region close to you or the region
where you want to create Bucket.
● Object ownership - enable for making public, otherwise
disable.
Step 2. Block Public Access setting for bucket:
● Uncheck for public, otherwise set default. If you
uncheck (Block all public keys)
● Bucket versioning.
● Tags(0)- Optional
● Default Encryption - Disable
Now, click on create Bucket.
Step 3. Now upload code files.
● Select Bucket and Click your Bucket Name.
● Click on upload and select your HTML code file from
PC/laptop.
● After uploading, click on close.
Step 4. Once files are uploaded, click on Permissions
● Block public access.
● Object ownership.
Step 5. Make public object
● Click on object.
● Select your All objects
● Click on Actions.
● Select make Public using ACL.
● Click on Make Public and close.
Step 6. Copy object URL
● Click on your HTML file object Name.
● Copy Object URL.
Step 7. Check out your website
● Directly paste URL into Other Tab or Other system.
● Now, your website is available in public.
● Successfully, host your website by AWS [Link]