CC
CC
(cloud shell)
->pwd
->mkdir rv
->cd rv
-> vi pap.py
type I
-> print("hello")
click "esc" and type " :wq "
->python3 pap.py
-----------------------------------------------------------------------------------
--------------------------------
2nd
(s3)
-----------------------------------------------------------------------------------
--------------------------------
3rd
(DynamoDB)
-----------------------------------------------------------------------------------
--------------------------------
4th
(aws lambda)
->Create Function.
->Type Function Name. Select Python in Runtime. In Change Default Execution, select
Create New Role.
->In Additional Settings, select Enable Function URL, and in Auth Type, select
None. save
->Configurations, Function URL, Check URL Runs.
(API gateway)
-----------------------------------------------------------------------------------
--------------------------------
6th
(EC2)
->Launch instance, select key pair name, and click HTTP and HTTPS.
->Go to instance, press connect, and it runs a Linux machine.
->After this, go to EC2 instance, connect, and copy public IP and paste it in a new
tab.
-----------------------------------------------------------------------------------
--------------------------------
8th
(S3)
->Give bucket name. ->In bucket, visionary, enable it, and keep all default.
->Go to bucket created, properties, edit, host static website, and enable.
->Type HTML name, and save changes.
->Go to objects, upload file,
->access URL from bucket, properties, static web hosting, site address, and access
the URL from new tab.
(cloudfront)
->create distribution,
->select origin domain, click legacy access in origin access.
->Create new UAI, and click yes update, keep all default, and create distribution.
->Copy distribution domain, and paste it in new tab.