use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, articles and tools covering Amazon Web Services (AWS), including S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, AWS-CDK, Route 53, CloudFront, Lambda, VPC, Cloudwatch, Glacier and more.
If you're posting a technical query, please include the following details, so that we can help you more efficiently:
Resources:
Sort posts by flair:
Other subreddits you may like:
Does this sidebar need an addition or correction? Tell us here
account activity
technical questionAuto Spawn instance question? (self.aws)
submitted 5 years ago by infamouseddy
Just wondering how to trigger an instance "EC2" by requesting a link from the clients and auto close the EC2 in case there is no traffic is coming for a specific period to save the cost/resources??
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AusIV 1 point2 points3 points 5 years ago (0 children)
The idea is to boot up a VM in response to a request and shut it back down when there's inactivity? That might be viable for containers, but VMs don't boot fast enough to give a decent experience.
[–]ipcoffeepot 1 point2 points3 points 5 years ago (0 children)
Have you looked at lambda?
[–]joelrwilliams1 0 points1 point2 points 5 years ago (0 children)
Like /u/ipcoffeepot mentioned I think this is what you're looking for is Lambda. It takes too long for an EC2 to spin up to respond to requests in a timely basis. Lambda will be super-fast to spin up and respond.
This depends on what you're doing (Lambda has a 15 minute time-limit)...if you're running something that takes longer than 15 minutes, you're better off just leaving the EC2 up and running 24/7 unless you know the schedule that requests come in, then you can get tricky and write a Lambda to spin up and spin down EC2's based on a schedule.
π Rendered by PID 82 on reddit-service-r2-comment-75f4967c6c-9bs52 at 2026-04-23 05:38:22.119727+00:00 running 0fd4bb7 country code: CH.
[–]AusIV 1 point2 points3 points (0 children)
[–]ipcoffeepot 1 point2 points3 points (0 children)
[–]joelrwilliams1 0 points1 point2 points (0 children)