Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

grmtek/ec2-launch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

ec2-launch

Launch a T3.micro EC2 instance, log its ID & publicDNS name, execute a user data script (os-pull.sh) & SSH in

Usage

./start-ec2.sh -k '<key-name>' -sg '<security-group>'

  • where <key-name> is your .pem keypair's name without the extension '.pem'
  • where <security-group> format example: 'sg-XXXXXX'

Dependencies

  • jq
  • figlet
  • aws cli
  • an AWS-configured SSH keypair
  • a security group that allows your IP address SSH access

After SSH access

Run install.sh for updates if desired:

ec2-user@ip-XXX-XX-XX-XXX:~$ sudo ./install.sh

About

Launch an AWS EC2 instance and boostrap it with a user data script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages