6

The docs for lightsail suggest that it can be connected to most AWS services.

Is it possible to have a load balancer distribute to different lightsail instances and to automatically launch new lightsail instances if I'm getting high traffic? Or is this purely designed for people testing things out, so if we want scaling we need to go the full EC2 route?

If this is possible can we also use Amazon SSL with the LB to force all traffic to these instances via https?

5

As of 29th November 2017, you can now use load balancer with Lightsail.

Amazon Lightsail has added load balancers to its easy-to-use cloud platform, enabling developers to build scalable, highly available websites and applications easily and quickly. Load balancers can be launched in minutes, fully configured and ready to route traffic to Lightsail instances for a low, predictable price of $18 per month. Lightsail load balancers also allow customers to easily build and maintain secure applications that accept HTTPS traffic with free SSL/TLS certificates and intuitive, built-in certificate management.

See https://aws.amazon.com/about-aws/whats-new/2017/11/amazon-lightsail-adds-load-balancers-with-integrated-certificate-management/

6
  • brilliant news!
    – TommyBs
    Dec 1 '17 at 7:29
  • This deep digged thread from Jan, got an ANSWERED badge after 11 months by a "low rep" member, sounds like add. I would add an IF to AI for moderation.
    – titus
    Nov 20 '18 at 3:09
  • @titus what do you mean "sounds like add". please elaborate Nov 20 '18 at 4:20
  • I am paranoid, overthinking a lot. Odds to dig up 11 months old question look like intentional searching for a niche. = ) Nothing more.
    – titus
    Nov 21 '18 at 9:56
  • 1
    Lightsail does not auto-scale, you have to launch new instances manually in advance. It will not do it for you. Elastic Beanstalk seems to be the better choice.
    – Max Howell
    Aug 23 '19 at 19:32
1

For this use case, you'll need to use the "real" EC2. Lightsail is designed for one-off servers.

1
  • Bah that's a shame. I figured it would be as much, but hoped where they talked about integrating other AWS services we could auto create VPS from snapshots
    – TommyBs
    Jan 12 '17 at 14:13
1

What you might want is Docker deployed to Amazon ECS on Fargate. This will autoscale as needed and you won't have to manage physical or virtual server resources.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.