How long can an AWS Lambda function execute?
AWS Lambda functions can be configured to run up to 15 minutes per execution. You can set the timeout to any value between 1 second and 15 minutes.
https://aws.amazon.com/lambda/faqs/
For a data processing workload that needs to run for a specific duration, Amazon EC2 instances would be more appropriate. EC2 instances provide virtual machines that you can configure with the necessary resources for your workload, and you can control the duration for which they run. You can choose an instance type that suits your processing needs and set up automation scripts or jobs to initiate and control the processing.
This question is all about how to handle a workload for a short period of usage (Lambda) vs a permanent AWS usage (EC2). And the 15 mn related to Lamba is not its maximum workload duration but its maximum invocation timeout (out of place).
Hence, the correct answer is A.
B. Amazon EC2
Amazon Elastic Compute Cloud (EC2) is a service that provides resizable compute capacity in the cloud. It is a good fit for workloads that require a significant amount of processing power, such as data processing. With EC2, the company can easily launch virtual machines with the required resources to complete the data processing within the 5 hours window. Additionally, the company can use Auto Scaling and Elastic Load Balancing to automatically scale the number of instances based on the workload, which can help to ensure that the data processing completes on time.
AWS Lambda is a serverless compute service that runs your code without provisioning or managing servers. It's useful for event-driven and short-lived workloads that require less computational power than data processing workloads.
AWS CodeDeploy is a service that automates code deployments to EC2 instances or on-premises instances.
AWS Wavelength is a service that enables developers to build and run applications on the edge, closer to customers and end-users, using 5G networks.
To use Amazon EC2, you simply:
✑ Select a pre-configured, templated Amazon Machine Image (AMI) to get up and running immediately. Or create an AMI containing your
applications, libraries, data, and associated configuration settings.
✑ Configure security and network access on your Amazon EC2 instance.
✑ Choose which instance type(s) you want, then start, terminate, and monitor as many instances of your AMI as needed, using the web service
APIs or the variety of management tools provided.
✑ Determine whether you want to run in multiple locations, utilize static IP endpoints, or attach persistent block storage to your instances.
✑ Pay only for the resources that you actually consume, like instance-hours or data transfer.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
AbdulMalik_Y
Highly Voted 1 year, 11 months agoAllxonevn
Most Recent 1 year, 8 months agoman5484
1 year, 8 months agoPranava_GCP
1 year, 8 months agotony629
1 year, 11 months agotony629
1 year, 11 months agoAmycert
2 years, 1 month agowabosi
2 years, 1 month agoptoul74
2 years, 2 months agoSaif93
2 years, 3 months agoNotMeAnyWay
2 years, 3 months agoZonci
2 years, 4 months agoZonci
2 years, 5 months agoRedes
2 years, 5 months agoJA2018
2 years, 5 months agoSLEON01
2 years, 5 months agoSLEON01
2 years, 5 months ago