AWS Classroom Series – 10/Oct/2020

How to create ec2 instance from boto3

  • Refer Here for the documentation.
  • Lets create an ubuntu 18 ec2 instance from boto3
    • AMI-ID: ami-07a29e5e945228fa1
    • Key Value Pair: jenkins
    • instancetype: t2.micro
  • The code is available in github Refer Here
  • Exercises:
    • Write a boto3 code to start the ec2 instances and stop the ec2 instances which have a tag environment = ‘DEV’
    • Write a code to fetch the size of s3 buckets in mb

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%