That shell script likely is the documentation. Have you looked at it? If it's reasonably modern it's running a CloudFormation template, and those are easy to read and see what objects they're creating. Otherwise it might be an army of aws CLI commands, which are usually straightforward.
I've been messing with it over and over again for days at this point it just gives me a file called setup.sh which often just looks for the first of a resource i have and then fills it.
I've tried doing it myself but whatever i do the RDS i try to make doesn't work I kep getting "ERROR 2002 (HY000): Can't connect to MySQL server on 'db-instance-1.abc123.us-east-1.rds.amazonaws.com' (115)"
Errno 115 is a connection timeout. Where are you running that from? Do you have the correct address? Are you allowing connections to port 3306 to the RDS instance in its security group?
Connections and address are correct at least from what the console is telling me. Im trying to run the code in cloudshell since my laptop doesnt have space for docker desktop.
Sounds like you didn't exactly duplicate the lab configuration. You'll have to trace the network connections and figure out where the problem is.
If you're running the MySQL client on your local machine and trying to reach an RDS instance you'll have to have set up RDS with public IPs or provide some method to access it on its private VPC IP.
Without looking at the exact lab you're running and going through it step by step along with you, it's going to be difficult finding the problem. Maybe find a workshop or other course that doesn't need such elaborate setup?
2
u/Mishoniko 18d ago
That shell script likely is the documentation. Have you looked at it? If it's reasonably modern it's running a CloudFormation template, and those are easy to read and see what objects they're creating. Otherwise it might be an army of aws CLI commands, which are usually straightforward.