May 2023
Intermediate to advanced
224 pages
4h 23m
English
In this chapter, we are going to learn how to run Python applications within the Elastic Compute Cloud (EC2) service. EC2 is an AWS service that allows you to provision a server in the cloud. You can find different types of server options. You need to carry out some configuration and run the server on the cloud. You might wonder why we need EC2 when we have Lambda. Lambda is very effective but has a duration limit. If you run your function for more than 15 minutes, it will give a timeout. What happens if your application needs to be run for a couple of hours because of a huge process? Lambda doesn’t work and you need your own server. Another reason to use EC2 would be if you need a very special configuration ...
Read now
Unlock full access