Skip to content

Instantly share code, notes, and snippets.

@morenoh149
Last active September 28, 2022 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morenoh149/a6e4f3970d983754c6bdb0e84837b804 to your computer and use it in GitHub Desktop.
Save morenoh149/a6e4f3970d983754c6bdb0e84837b804 to your computer and use it in GitHub Desktop.
aws solution architect certification user data script for ec2 instances
#!/bin/bash
yum update -y
yum install -y httpd
systemctl start httpd
systemctl enable httpd
echo "<h1>Hello World from $(hostname -f)</h1>" > /var/www/html/index.html
@morenoh149
Copy link
Author

make sure your are connecting over http and not https

@morenoh149
Copy link
Author

If you delete the default vpc's you can recreate them by following https://www.youtube.com/watch?v=TUTqYEZZUdc, doublecheck your security groups allow http traffic and have an internet gateway and route tables.

@morenoh149
Copy link
Author

when creating rds instances you will want to enable DNS Hostnames on the VPC https://www.youtube.com/watch?v=PuFGvU3jbtk

@morenoh149
Copy link
Author

if sqlectron doesn't load the rds tables try https://dbeaver.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment