Hey everyone! I'm using the AWS Academy Learner Lab for my university course, where I need to deploy a website through Elastic Beanstalk and share the URL with my professor for grading. However, every time I either let the 4-hour session timer run out or I click 'End Lab', my website stops loading, which is frustrating. My professor hasn't faced this issue before and offered to help me with my assignment, but I'm curious about what's going wrong. According to the Learner Lab readme, any resources I create should stick around, and I'll find them the next time I start a session, but it seems like my EC2 instance isn't working that way. I even asked my classmates, but they seemed just as puzzled, and once I shared the readme quote, they went silent, haha! Any insights would be really appreciated!
1 Answer
Yeah, this is actually how it works with the Learner Lab. When the session ends, the EC2 instances stop, but they don't get deleted. They should start up again when you launch a new session. To keep your server running even after the lab session finishes, consider looking into serverless options, since those can persist through lab closures. I found a playlist that might help you understand more about it! Check it out here: https://www.youtube.com/playlist?list=PL7CNTJ3jJt7EvMQINqhABXjrV0EBYQhPZ.
So, my URL not working after ending the lab is what I expected, but I wanted to double-check before I tell my professor he might not have the full story, haha!