Threads for jonl

  1. 9

    One caveat here that I haven’t seen much attention brought to is this piece of their FAQ:

    How do Lightsail instances perform?

    Lightsail instances are specifically engineered by AWS for web servers, developer environments, and small database use cases. Such workloads don’t use the full CPU often or consistently, but occasionally need a performance burst. Lightsail uses burstable performance instances that provide a baseline level of CPU performance with the additional ability to burst above the baseline. This design enables you to get the performance you need, when you need it, while protecting you from the variable performance or other common side effects that you might typically experience from over-subscription in other environments.

    If you need highly configurable environments and instances with consistently high CPU performance for applications such as video encoding or HPC applications, we recommend you use Amazon EC2.

    This infers that these instances perform similarly to EC2’s T2 instances, and so CPU will be throttled for anything more demanding than a web application.

    Their documentation doesn’t mention anything about CPU credits however, so some testing needs to be done to see how burstable/fixed performance is. I’ll probably write a blog post investigating this further.

    1. 7

      They are t2 instances from my testing. If you launch one and query the EC2 metadata service, it can return back the type of instance it is.

      1. 1

        Interesting. I’m assuming you queried it through the instance itself and not an API?

        1. 2

          I SSH’d to the box and curl’d the metadata URL. For my test $5 Ubuntu box it returned t2.nano.

          1. 1

            I don’t know if they have, but I’ve seen some people query it on the instance and see a T2 instance as a result

      1. 1

        Not sure what other people think, but these diagrams are way to small and way to fast for me to understand

        1. 1

          I agree. It’s hard to see what each algorithm does. I think improved colors would help significantly, perhaps with some playblack/step controls.

          I feel these videos are better visualizations:

          See also the blog post (including source code) relating to these videos: