- Creating EC2 using the code above.
- creating EC2 through CLI:
aws ec2 run-instances --image-id <ami-xxxxxxx> --count 1 --instance-type t2.nano --key-name <ur_key> --security-group-ids <sg-xxxx> --subnet-id <subnet-xxxx>
To create your aws key-name throuh CLI
https://docs.aws.amazon.com/cli/latest/userguide/cli-services-ec2-keypairs.html
- use aws cli
aws s3 mb s3://demo-101
mhttps://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.html
AWS Lmabda and dyamodb
- Deploy cloudFormation templates
Ref: Most of those script from LinuxAcademy and Pluralsight online learning websites