Cloud Computing Lab Manual
Cloud Computing Lab Manual
Downloaded by divya p
Cloud Computing
LABORATORY MANUAL
6th Semester
1
Cloud Computing
STUDENT DETAILS
NAME
USN
BATCH
SECTION
STAFF DETAILS
EVALUATION
WEEKLY
EVALUATION*
LAB CIE
TOTAL
*OBE Sheet Evaluation
1.1 Objectives:
Exploring AWS CloudShell and the AWS Cloud9 IDE
AWS Account
1.3 Pre-Requisite:
1.4 Introduction:
AWS Cloudshell - AWS CloudShell is a browser-based shell that makes it
easier to securely manage, explore, and interact with your AWS resources.
AWS Cloud9 IDE - AWS Cloud9 is a cloud-based integrated
development environment (IDE) that lets you write, run, and debug your
code with just a browser. It includes a code editor, debugger, and terminal.
1.5 Procedure:
Cloud Computing
SELECT CLOUDSHELL
Cloud Computing
UPLOAD A FILE
Cloud Computing
DOWNLOAD A FILE
Cloud Computing
DELETE A CLOUDSHELL
LAUNCH INSTANCE
Cloud Computing
Cloud Computing
CONNECT TO INSTANCE
Cloud Computing
Exploring cloudshell
Cloud Computing
1.6 Observations:
We created a cloud shell console and experimented on the same. Also we created a EC2 instance and
created a VPC
Cloud Computing
2.1 Objectives:
2.3 Pre-Requisite:
2.4 Introduction:
2.5 Procedure:
Before host a website get ready with html code and browser
Create bucket
Give the name of the bucket create
Cloud Computing
Bucket is created
Click on upload
Cloud Computing
Scroll down—edit
Cloud Computing
1.html
Enable
Save
Then give permission through permission menu
Block public access
Edit uncheck the button
Cloud Computing
Then save
Confirm
Now check
Go to objects select all objectscheck actions-
Cloud Computing
3.3 Pre-Requisite:
3.4 Introduction:
AWS DynamoDB is a fast and flexible NoSQL database service for all
applications that need consistent, single-digit-millisecond latency at any scale. Its flexible
data model and reliable performance make DynamoDB a great fit for mobile, web,
gaming, advertising technology, Internet of Things, and other applications
3.5 Procedure:
Cloud Computing
CREATE TABLE
GIVE TABLE NAME, PARTITION KEY (IS A PRIMARY KEY)
SET -CUSTOMIZED SETTINGS, DynamoDB Standard-IA
Cloud Computing
TABLE CREATED -> SELECT UR TABLE -> EXPLORE TABLE ITEMS ->
CREATE ITEMS
{
"USN": {
"S": "03"
},
"NAME": {
"S": "XYZ"
},
"DEPT": {
"S": "MECH"
},
"AGE": {
"N": "13"
}
}
Cloud Computing
Cloud Computing
UPDATE COMMAND
Cloud Computing
3.6 Observations:
Tables and items are created, and we can run the commands to manipulate the date in the tables
Cloud Computing
4.1 Objectives:
Developing REST APIs with Amazon API Gateway.
4.3 Pre-Requisite:
4.4 Introduction:
API Gateway enables you to connect and access data, business logic, and functionality
from backend services such as workloads running on Amazon Elastic Compute Cloud
(Amazon EC2), code running on AWS Lambda, any web application, or real-time
communication applications.
Cloud Computing
4.5 Procedure:
Cloud Computing
import json
TO TEST API
DEPLOY API
Cloud Computing
5.1 Objectives: Creating Lambda Functions Using the AWS SDK for Python
AWS Account
5.3 Pre-Requisite:
5.4 Introduction:
5.5 Procedure:
CREATE FUNCTION
Cloud Computing
Cloud Computing
AWS Account
6.3 Pre-Requisite:
6.4 Introduction:
6.5 Procedure:
Cloud Computing
GO TO UR INSTANCE
Press connect
AWS Account
7.3 Pre-Requisite:
7.4 Introduction:
AWS CloudFront - CloudFront offers several options for streaming your media to
global viewers—both pre-recorded files and live events. For video on demand
(VOD) streaming, you can use CloudFront to stream in common formats such as
MPEG DASH, Apple HLS, Microsoft Smooth Streaming, and CMAF, to any
device.
The two main components of AWS Cloudfront are content delivery and
dynamic content caching
7.5 Procedure:
Cloud Computing
NEXT
AUTHtoken123456789
NEXT
AWS Account
8.3 Pre-Requisite:
8.4 Introduction:
8.5 Procedure:
GO TO S3 & CREATE A BUCKET
GIVE BUCKET NAME AND KEEP ALL DEFAULTS
Cloud Computing
Cloud Computing
GO TO BUCKET CREATED
SAVE CHANGES
STEP 2: CLOUDFRONT
CREATE A DISTRIBUTION
S3 RESULT
AWS Account
9.3 Pre-Requisite:
9.4 Introduction:
Name: course_selection_state_machine
{
"Comment": "An example of the Amazon States Language for scheduling a
task.",
"StartAt": "StartHere",
"States": {
"StartHere": {
"Type": "Pass",
"Next": "SubjectChoice"
},
"SubjectChoice": {
"Type": "Choice",
"Choices": [
{
"Variable": "$.Subject",
"StringEquals": "Physics",
"Next": "Physics"
},
{
"Variable": "$.Subject",
"StringEquals": "Maths",
"Next": "Maths"
}
],
"Default": "EndState"
},
"Physics": {
"Type": "Pass",
"Next": "CheckMarks"
},
"Maths": {
"Type": "Pass",
"Next": "CheckMarks"
},
"CheckMarks": {
"Type": "Choice",
"Choices": [
{
"Variable": "$.Marks",
"NumericGreaterThan": 70,
"Next": "EndState"
}
],
"Default": "EndState"
},
"EndState": {
"Type": "Pass",
"End": true
Cloud Computing
}
}
}
2. Execute the state machine. Provide the below timer value as the
input. Execution input:
{
"Subject": "Maths",
"Marks": 76
}
{
"Subject": "Physics",
"Marks": 91
}
#####
End
#####
Cloud Computing
AWS Account
9.3 Pre-Requisite:
9.4 Introduction:
AWS IAM - AWS Identity and Access Management (IAM) is a web service for
securely controlling access to AWS services. With IAM, you can centrally manage
users, security credentials such as access keys, and permissions that control which
AWS resources users and applications can access.
Cloud Computing
• Then after doing the above process, come back to the running
instances list.
• Select your currently created running instance and go to the
"Security" section present at the end of the page.
• Click on the link present under the "Security Groups". After
redirecting to the required page, click on "Edit Inbound rules"
under the section of "Inbound rules" present at the end of the
page.
Cloud Computing
• Then add a rule, select a port range of your choice and select the
source as "Anywhere-IPv4" from the dropdown menu and then
click on "Save rules".
• Basically, let me give you a overview what we are actually doing
here. In brief, when you add an inbound rule to a security group
for an instance with port range (in my case, it was 4000) and set
the source to "Anywhere-IPv4," you are allowing any computer
or device on the internet to connect to your instance through
port 4000.
• This is like opening a door (port 4000) on your server and letting
anyone from anywhere access the service or application running
on that port.
Cloud Computing
NEXT
CONNECT TO GITHUB
Cloud Computing
CONNECT TO GITHUB
CONNECT
Cloud Computing
Cloud Computing