Set Concurrency Limits on Individual AWS Lambda Functions

AWS recently announced its availability in Paris. It makes another addition to the four European regions that already have access to Amazon Web Services. Paris has three availability zones and setting up of Amazon Web Services in the region allows users in France and the surrounding area to enjoy improved Amazon Web Services. The initial plan was to operate 49 availability zones within eighteen regions in the world with expansion plans to twelve additional availability zones and four more regions in Sweden, Hong Kong SAR and Bahrain. This new Amazon Web Services in Paris supports virtual server instances like X1, T2, M5, C5, D2, I3 and R4 with extensive services that include advanced technologies. The region will have three data centers; Interxion Paris, Direct Connect via Equinox Paris and Telehouse Voltaire.

AWS Lambda console


Benefits of Setting up AWS in Different Regions and Availability Zone

Amazon Web Services Cloud infrastructure is set up around Availability Zones and Regions. An availability zone comprises of one or more separate data centres each with networking and connectivity, redundant power, housed in different facilities. A region, on the other hand, is a physical location where there are multiple availability zones. The zones allow users to operate production application and databases that are more available, scalable and tolerant to faults than it would be possible from one data centre. The zones are connected using fibre-optic networking, which is fast and allows you to access applications that fail between availability zones with minimal disruption. The Availability zones also help you to increase fault tolerance and redundancy by replicating between geographic regions. This way you get to retain ownership over the region where the data is physically located, which makes it easy for users to meet the required compliance and data residency rules. It begs the question; What are Amazon Web Services?

What is AWS?

Serverless applications present several benefits with leading one being the ease with which they can scale to meet traffic requests with minimal capacity planning. AWS Lambda, the main serverless application at Amazon Web Services, uses a unit of scale known as concurrent execution. The feature allows you to set a limited number of executions that can happen to your function code at any given time. It comes in handy during two instances; the first when you want to regulate the use of IP addresses and EIN (Elastic Network Interfaces) for functions that access a private VPC. Secondly, concurrent execution is useful when you want to control the traffic rates to downstream resources.

How to Configure Concurrency Limits

With AWS Lambda, you can fix concurrency limits on a particular Lambda functions in an account. You can set a numerical value, which is assigned to your account's total concurrency limit (referred to as $ACCOUNT) with a default concurrency limit of 1000. It means that all the other invocations count against the function level limit. To track each functions' concurrency usage, you can use Amazon's CloudWacth metrics as it comes with the feature. It also shows your account's level of concurrency usage.

Stay tunned for more content like this.

Nueva llamada a la acción
Linke SAP on AWS
Key steps to adopt Devops on a Cloud-Native Company
Download The Linke AWS Connector for SAP in PDF