You are on page 1of 3

CLOUD COMPUTING lAB

Assignment 1
Creating Public Cloud Account in AWS
Steps: Creating an AWS account
1. Go to the AWS website (https://aws.amazon.com/) and click on the "Create an AWS
Account" button.
2. Enter your email address, password, and account information.
3. Provide your payment information. AWS requires a credit card for verification purposes,
even if you're using free-tier services. Thus It will take R.s. 2.

4. Select basic free plan. And now an account is created!!

Sanjeet Kumar , Roll 7, CSBS, sem - VI


CLOUD COMPUTING lAB
2

Assignment 1
Creating EC2 instance in your account
Launch an EC2 Instance (Virtual Machine)
1. Sign in to AWS Console and navigate to EC2.
2. Click "Launch Instance" to start creating your VM.
3. Choose an AMI (operating system) for your VM. I have chosen ubuntu.
4. Select an Instance Type based on your needs.
5. Configure instance settings like network and storage.
6. Add storage space for your VM.
7. Configure security groups to control inbound traffic.
8. Review your settings and click "Launch".
9. Create a new key pair or use an existing one for SSH access.
10. Launch your instance and wait for it to become available.

Sanjeet Kumar , Roll 7, CSBS, sem - VI


CLOUD COMPUTING lAB
3

Assignment 1
Configuring the security policies and login to that server using SSH
1. Open your terminal in Ubuntu.
2. Use the `cd` command to navigate to the directory containing your `.pem` key file. For
cd /Downloads
3. Set permissions for your key file using the `chmod` command:
chmod 400 sanjeet.pem
4. Find the public IP address of your EC2 instance in the AWS Management Console.
5. Use the `ssh` command to connect to your instance:
ssh -i sanjeet.pem ubantu@ec2-16-16-58-226.eu-north-1.compute.amazonaws.com
6. If prompted to confirm the connection, type `yes`.
7. You are now connected to your EC2 instance via SSH in your Ubuntu terminal.

Sanjeet Kumar , Roll 7, CSBS, sem - VI

You might also like