---
title: Application Load Balanced Fargate Service example in AWS CDK
description: AWS Ambassador Danny Steenman wrote this blog to explain what is required to build an Application Load Balanced Fargate Service in AWS CDK.
image: https://www.cloudnation.nl/hubfs/CloudNation-beeld-gh3hx-2.jpg
---

 English

[ Nederlands](https://www.cloudnation.nl/inspiratie/blogs/application-load-balanced-fargate-service-example-in-aws-cdk)

an IG&H company

[![_CN_Monogram_Color_White_rgb](https://www.cloudnation.nl/hubfs/_CN_Monogram_Color_White_rgb.png "Back to home") ![preview__CN_Logo_Left_Color_Black_rgb](https://www.cloudnation.nl/hubfs/preview__CN_Logo_Left_Color_Black_rgb.png "Back to home") ](https://www.cloudnation.nl/en/)

 Services

 Migrate

[ Cloud Migration

 Realize a seamless transition to the cloud 

](https://www.cloudnation.nl/en/services/cloud-migration) [ Cloud Readiness Assessment

 Before you start your journey on the cloud. 

](https://www.cloudnation.nl/en/services/cloud-readiness-assessment) [ Cloud Landing Zone Accelerator

 The start of a cloud journey. 

](https://www.cloudnation.nl/en/services/cloud-landing-zone-accelerator) [ Advice & Strategy

 Use the knowhow of our best experts. 

](https://www.cloudnation.nl/en/services/strategy) [ Application Modernization

 Modernize, simplify and transform applications. 

](https://www.cloudnation.nl/en/services/applicationmodernization)

 Improve & Modernize

[ Cloud Security & Compliance

 Security & compliance 

](https://www.cloudnation.nl/en/services/cloud-security/old) [ Cloud Competence Center

 Accelerate development. 

](https://www.cloudnation.nl/en/cloud-center-of-excellence-cloudnation) [ FinOps

 Turn cloud spend into business value 

](https://www.cloudnation.nl/en/cloudnation-finops)

 Integrate

[ Hybrid cloud

 Combine the best of private and public cloud. 

](https://www.cloudnation.nl/en/services/hybrid-cloud) [ Network & connectivity

 Use the cloud optimally and create value. 

](https://www.cloudnation.nl/en/services/networking-connectivity) [ Managed Cloud Services

](https://www.cloudnation.nl/en/services/managed-cloud-services) [ Managed Kubernetes Services

](https://www.cloudnation.nl/en/en/services/managed-kubernetes-services)

 Data & AI

[ AI Solutions

 Harness the power of artificial intelligence 

](https://www.cloudnation.nl/en/artificial-intelligence) [ Data Landing Zone

 A secure and scalable foundation for your data operations. 

](https://www.cloudnation.nl/en/services/data-landing-zone) [ Agent Lake

 The governed foundation for enterprise AI agents 

](https://www.cloudnation.nl/en/agent-lake)

[![aws-grey](https://www.cloudnation.nl/hubfs/aws-grey.svg) ](https://aws.amazon.com/free/?trk=3c7428a8-c52c-45ed-8072-8e2ba8bf9225&sc_channel=ps&ef_id=Cj0KCQjwwvilBhCFARIsADvYi7InrIXPaSi0tr77kUKV_-nyhN-NviOxvxIBVTUFilC3rM2czBruU-gaAuXlEALw_wcB:G:s&s_kwcid=AL!4422!3!649687334390!e!!g!!aws!19738730142!145148221566&all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all) [![azure-grey](https://www.cloudnation.nl/hubfs/azure-grey.svg) ](https://azure.microsoft.com/en-us/free/search/?ef_id=_k_Cj0KCQjwwvilBhCFARIsADvYi7IzQ1lpK0myTZJUEGM4La7kZrvaGTatFZ5ommalhQTlkevfIc4qPNsaAl4FEALw_wcB_k_&OCID=AIDcmmy4pl1olr_SEM__k_Cj0KCQjwwvilBhCFARIsADvYi7IzQ1lpK0myTZJUEGM4La7kZrvaGTatFZ5ommalhQTlkevfIc4qPNsaAl4FEALw_wcB_k_&gclid=Cj0KCQjwwvilBhCFARIsADvYi7IzQ1lpK0myTZJUEGM4La7kZrvaGTatFZ5ommalhQTlkevfIc4qPNsaAl4FEALw_wcB) [![google-cloud-grey](https://www.cloudnation.nl/hubfs/google-cloud-grey.svg) ](https://cloud.google.com/gcp/?hl=nl&utm_source=google&utm_medium=cpc&utm_campaign=emea-nl-all-nl-bkws-all-all-trial-e-gcp-1011340&utm_content=text-ad-none-any-DEV_c-CRE_495030366170-ADGP_Hybrid+%7C+BKWS+-+EXA+%7C+Txt+~+GCP+~+General%23v3-KWID_43700060393215884-kwd-6458750523-userloc_9064924&utm_term=KW_google%20cloud-NET_g-PLAC_&&gad=1&gclid=Cj0KCQjwwvilBhCFARIsADvYi7Kh3LYZSTLyTiCJcfyw5z0iKjKdP0z6hgphICBbRRXr230tD1FvZiIaAh7OEALw_wcB&gclsrc=aw.ds) [![oracle-ci-grey](https://www.cloudnation.nl/hubfs/oracle-ci-grey.svg) ](https://www.oracle.com/) 

[ Services overview ](https://www.cloudnation.nl/en/services)

[ Success stories ](https://www.cloudnation.nl/en/success-stories)

 Industries

 Our **cloud-native specialists** have deep** knowhow** and relevant **experience** in various industries 

[ Branches overview ](https://www.cloudnation.nl/en/industries)

[ FinTech

 Accelerate FinTech innovations 

](https://www.cloudnation.nl/en/industries/finance-fintech) [ ISV

 Remain future proof and transform your applications through the cloud 

](https://www.cloudnation.nl/en/industries/isv) [ Manufacturing

 Improve operational efficiency, security and scalability of your processes. 

](https://www.cloudnation.nl/en/industries/production-industry) [ Digital Natives

 Unlock new possibilities with cloud solutions designed for the digital pioneer. 

](https://www.cloudnation.nl/en/branches/digital-natives)

[ Inspiration ](https://www.cloudnation.nl/en/inspiration)

 About Us

[ About CloudNation ](https://www.cloudnation.nl/en/about-us)

[ Careers ](https://www.cloudnation.nl/en/careers)

[ Our partners ](https://www.cloudnation.nl/en/partners)

[ CloudNation Academy ](https://www.cloudnation.nl/en/cloud-academy)

[ Contact ](https://www.cloudnation.nl/en/contact)

[Plan a call ](https://www.cloudnation.nl/en/schedule-a-meeting)

[![_CN_Monogram_Color_White_rgb](https://www.cloudnation.nl/hubfs/_CN_Monogram_Color_White_rgb.png "Back to home") ![preview__CN_Logo_Left_Color_Black_rgb](https://www.cloudnation.nl/hubfs/preview__CN_Logo_Left_Color_Black_rgb.png "Back to home") ](https://www.cloudnation.nl/en/)

 Services

 Migrate

[ Cloud Migration

 Realize a seamless transition to the cloud 

](https://www.cloudnation.nl/en/services/cloud-migration) [ Cloud Readiness Assessment

 Before you start your journey on the cloud. 

](https://www.cloudnation.nl/en/services/cloud-readiness-assessment) [ Cloud Landing Zone Accelerator

 The start of a cloud journey. 

](https://www.cloudnation.nl/en/services/cloud-landing-zone-accelerator) [ Advice & Strategy

 Use the knowhow of our best experts. 

](https://www.cloudnation.nl/en/services/strategy) [ Application Modernization

 Modernize, simplify and transform applications. 

](https://www.cloudnation.nl/en/services/applicationmodernization)

 Improve & Modernize

[ Cloud Security & Compliance

 Security & compliance 

](https://www.cloudnation.nl/en/services/cloud-security/old) [ Cloud Competence Center

 Accelerate development. 

](https://www.cloudnation.nl/en/cloud-center-of-excellence-cloudnation) [ FinOps

 Turn cloud spend into business value 

](https://www.cloudnation.nl/en/cloudnation-finops)

 Integrate

[ Hybrid cloud

 Combine the best of private and public cloud. 

](https://www.cloudnation.nl/en/services/hybrid-cloud) [ Network & connectivity

 Use the cloud optimally and create value. 

](https://www.cloudnation.nl/en/services/networking-connectivity) [ Managed Cloud Services

](https://www.cloudnation.nl/en/services/managed-cloud-services) [ Managed Kubernetes Services

](https://www.cloudnation.nl/en/en/services/managed-kubernetes-services)

 Data & AI

[ AI Solutions

 Harness the power of artificial intelligence 

](https://www.cloudnation.nl/en/artificial-intelligence) [ Data Landing Zone

 A secure and scalable foundation for your data operations. 

](https://www.cloudnation.nl/en/services/data-landing-zone) [ Agent Lake

 The governed foundation for enterprise AI agents 

](https://www.cloudnation.nl/en/agent-lake)

[![aws-grey](https://www.cloudnation.nl/hubfs/aws-grey.svg) ](https://aws.amazon.com/free/?trk=3c7428a8-c52c-45ed-8072-8e2ba8bf9225&sc_channel=ps&ef_id=Cj0KCQjwwvilBhCFARIsADvYi7InrIXPaSi0tr77kUKV_-nyhN-NviOxvxIBVTUFilC3rM2czBruU-gaAuXlEALw_wcB:G:s&s_kwcid=AL!4422!3!649687334390!e!!g!!aws!19738730142!145148221566&all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all) [![azure-grey](https://www.cloudnation.nl/hubfs/azure-grey.svg) ](https://azure.microsoft.com/en-us/free/search/?ef_id=_k_Cj0KCQjwwvilBhCFARIsADvYi7IzQ1lpK0myTZJUEGM4La7kZrvaGTatFZ5ommalhQTlkevfIc4qPNsaAl4FEALw_wcB_k_&OCID=AIDcmmy4pl1olr_SEM__k_Cj0KCQjwwvilBhCFARIsADvYi7IzQ1lpK0myTZJUEGM4La7kZrvaGTatFZ5ommalhQTlkevfIc4qPNsaAl4FEALw_wcB_k_&gclid=Cj0KCQjwwvilBhCFARIsADvYi7IzQ1lpK0myTZJUEGM4La7kZrvaGTatFZ5ommalhQTlkevfIc4qPNsaAl4FEALw_wcB) [![google-cloud-grey](https://www.cloudnation.nl/hubfs/google-cloud-grey.svg) ](https://cloud.google.com/gcp/?hl=nl&utm_source=google&utm_medium=cpc&utm_campaign=emea-nl-all-nl-bkws-all-all-trial-e-gcp-1011340&utm_content=text-ad-none-any-DEV_c-CRE_495030366170-ADGP_Hybrid+%7C+BKWS+-+EXA+%7C+Txt+~+GCP+~+General%23v3-KWID_43700060393215884-kwd-6458750523-userloc_9064924&utm_term=KW_google%20cloud-NET_g-PLAC_&&gad=1&gclid=Cj0KCQjwwvilBhCFARIsADvYi7Kh3LYZSTLyTiCJcfyw5z0iKjKdP0z6hgphICBbRRXr230tD1FvZiIaAh7OEALw_wcB&gclsrc=aw.ds) [![oracle-ci-grey](https://www.cloudnation.nl/hubfs/oracle-ci-grey.svg) ](https://www.oracle.com/) 

[ Services overview ](https://www.cloudnation.nl/en/services)

[ Success stories ](https://www.cloudnation.nl/en/success-stories)

 Industries

 Our **cloud-native specialists** have deep** knowhow** and relevant **experience** in various industries 

[ Branches overview ](https://www.cloudnation.nl/en/industries)

[ FinTech

 Accelerate FinTech innovations 

](https://www.cloudnation.nl/en/industries/finance-fintech) [ ISV

 Remain future proof and transform your applications through the cloud 

](https://www.cloudnation.nl/en/industries/isv) [ Manufacturing

 Improve operational efficiency, security and scalability of your processes. 

](https://www.cloudnation.nl/en/industries/production-industry) [ Digital Natives

 Unlock new possibilities with cloud solutions designed for the digital pioneer. 

](https://www.cloudnation.nl/en/branches/digital-natives)

[ Inspiration ](https://www.cloudnation.nl/en/inspiration)

 About Us

[ About CloudNation ](https://www.cloudnation.nl/en/about-us)

[ Careers ](https://www.cloudnation.nl/en/careers)

[ Our partners ](https://www.cloudnation.nl/en/partners)

[ CloudNation Academy ](https://www.cloudnation.nl/en/cloud-academy)

[ Contact ](https://www.cloudnation.nl/en/contact)

[Plan a call ](https://www.cloudnation.nl/en/schedule-a-meeting)

[![_CN_Monogram_Color_White_rgb](https://www.cloudnation.nl/hubfs/_CN_Monogram_Color_White_rgb.png "Back to home") ![preview__CN_Logo_Left_Color_Black_rgb](https://www.cloudnation.nl/hubfs/preview__CN_Logo_Left_Color_Black_rgb.png "Back to home") ](https://www.cloudnation.nl/en/)

[ Let's talk ](https://www.cloudnation.nl/en/schedule-a-meeting)

Menu

[![_CN_Monogram_Color_White_rgb](https://www.cloudnation.nl/hubfs/_CN_Monogram_Color_White_rgb.png "Back to home") ![preview__CN_Logo_Left_Color_Black_rgb](https://www.cloudnation.nl/hubfs/preview__CN_Logo_Left_Color_Black_rgb.png "Back to home") ](https://www.cloudnation.nl/en/)

[ Let's talk ](https://www.cloudnation.nl/en/schedule-a-meeting)

Menu

 Services

 Migrate

[ Cloud Migration 

](https://www.cloudnation.nl/en/services/cloud-migration) [ Cloud Readiness Assessment 

](https://www.cloudnation.nl/en/services/cloud-readiness-assessment) [ Cloud Landing Zone Accelerator 

](https://www.cloudnation.nl/en/services/cloud-landing-zone-accelerator) [ Advice & Strategy 

](https://www.cloudnation.nl/en/services/strategy) [ Application Modernization 

](https://www.cloudnation.nl/en/services/applicationmodernization)

 Improve & Modernize

[ Cloud Security & Compliance 

](https://www.cloudnation.nl/en/services/cloud-security/old) [ Cloud Competence Center 

](https://www.cloudnation.nl/en/cloud-center-of-excellence-cloudnation) [ FinOps 

](https://www.cloudnation.nl/en/cloudnation-finops)

 Integrate

[ Hybrid cloud 

](https://www.cloudnation.nl/en/services/hybrid-cloud) [ Network & connectivity 

](https://www.cloudnation.nl/en/services/networking-connectivity) [ Managed Cloud Services 

](https://www.cloudnation.nl/en/services/managed-cloud-services) [ Managed Kubernetes Services 

](https://www.cloudnation.nl/en/en/services/managed-kubernetes-services)

 Data & AI

[ AI Solutions 

](https://www.cloudnation.nl/en/artificial-intelligence) [ Data Landing Zone 

](https://www.cloudnation.nl/en/services/data-landing-zone) [ Agent Lake 

](https://www.cloudnation.nl/en/agent-lake) 

[Services overview ](https://www.cloudnation.nl/en/services)

[ Success stories ](https://www.cloudnation.nl/en/success-stories)

 Industries

[ FinTech ](https://www.cloudnation.nl/en/industries/finance-fintech)

[ ISV ](https://www.cloudnation.nl/en/industries/isv)

[ Manufacturing ](https://www.cloudnation.nl/en/industries/production-industry)

[ Digital Natives ](https://www.cloudnation.nl/en/branches/digital-natives) 

[Branches overview ](https://www.cloudnation.nl/en/industries)

[ Inspiration ](https://www.cloudnation.nl/en/inspiration)

 About Us

[ About CloudNation ](https://www.cloudnation.nl/en/about-us)

[ Careers ](https://www.cloudnation.nl/en/careers)

[ Our partners ](https://www.cloudnation.nl/en/partners)

[ CloudNation Academy ](https://www.cloudnation.nl/en/cloud-academy)

[ Contact ](https://www.cloudnation.nl/en/contact) 

[Let's talk ](https://www.cloudnation.nl/en/schedule-a-meeting)

[ nl](https://www.cloudnation.nl/inspiratie/blogs/application-load-balanced-fargate-service-example-in-aws-cdk)

[Back ](https://www.cloudnation.nl/en/inspiration/blogs)

[AWS](https://www.cloudnation.nl/en/inspiration/blogs/tag/aws) [CDK](https://www.cloudnation.nl/en/inspiration/blogs/tag/cdk)

# Application Load Balanced Fargate Service example in AWS CDK

![](https://www.cloudnation.nl/hubfs/CN_Rond__0039_Danny2.jpg)

**Danny Steenman** Principal Consultant

 Publish date: 27 October 2022

![](https://www.cloudnation.nl/hs-fs/hubfs/CloudNation-beeld-gh3hx-2.jpg?width=1600)

<https://www.linkedin.com/shareArticle?mini=true&url=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk> <https://twitter.com/intent/tweet?text=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk> [mailto:info@example.com?&subject=&body=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk](mailto:info@example.com?&subject=&body=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk) <https://web.whatsapp.com/send?text=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk>

This blog post will explain what is required to build an Application Load Balanced Fargate Service in [AWS CDK](https://towardsthecloud.com/aws-cdk).

![Application Load Balanced Fargate Service architecture diagram](https://towardsthecloud.com/wp-content/uploads/alb-fargate-diagram-1024x632.webp)

Application Load Balanced Fargate Service architecture diagram

## Create an AWS VPC

Before we can start to build a Fargate service we need to set up a virtual private cloud (VPC). A VPC is a logically isolated virtual network that allows you to launch your AWS resources such as Fargate services.

You can specify an IP address range for the VPC, add subnets, associate security groups, and configure route tables. For this blog post, we’ll create a VPC with 9 subnets divided over 3 Availability Zones (AZs) in AWS CDK.

The following shows an example of how to create a VPC.

```
// Create a VPC with 9x subnets divided over 3 AZ's
const myvpc = new ec2.Vpc(this, 'SkeletonVpc', {
  cidr: '172.31.0.0/16',
  natGateways: 1,
  maxAzs: 3,
  subnetConfiguration: [
    {
      cidrMask: 20,
      name: 'public',
      subnetType: ec2.SubnetType.PUBLIC,
    },
    {
      cidrMask: 20,
      name: 'application',
      subnetType: ec2.SubnetType.PRIVATE_WITH_NAT,
    },
    {
      cidrMask: 20,
      name: 'data',
      subnetType: ec2.SubnetType.PRIVATE_ISOLATED,
    },
  ],
});
```

## Create an AWS ECS Cluster

Once the VPC is built we create the ECS Cluster which is required to manage the Fargate service. The following code snippet allows us to create the ECS Cluster:

```
// Create an ECS cluster
const cluster = new ecs.Cluster(this, 'service-cluster', {
  clusterName: 'service-cluster',
  containerInsights: true,
  vpc: vpc,
});
```

As you can see in the snippet we reference the `SkeletonVpc`. This tells AWS CDK to deploy the ECS Cluster in the VPC we created earlier.

## Create an Application Load Balanced Fargate Service in AWS CDK

Once we’ve deployed the dependent resources, we can continue with the actual Fargate resource.

The next snippet uses the official AWS CDK Construct library for [higher-level ECS Constructs](https://docs.aws.amazon.com/cdk/api/latest/docs/aws-ecs-patterns-readme.html) (aws-ecs-patterns) to create the Application Load Balanced Fargate Service.

```
// Create a Fargate container image
const image = ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample');

// Create higher level construct containing the Fargate service with a load balancer
new ecspatterns.ApplicationLoadBalancedFargateService(
  this,
  'amazon-ecs-sample',
  {
    cluster,
    circuitBreaker: {
      rollback: true,
    },
    cpu: 512,
    desiredCount: 1,
    taskImageOptions: {
      image: image,
      containerPort: 80,
      logDriver: ecs.LogDrivers.awsLogs({
        streamPrefix: id,
        logRetention: logs.RetentionDays.ONE_YEAR,
      }),
    },
  }
);
```

Let’s explain what has been built.

`cluster`– hosts the Fargate services or tasks.

`circuitBreaker` – Enabling this allows you to roll back your ECS tasks automatically in CloudFormation after a threshold of failed deployments (health check failed) exceeds the limit.

`cpu` – sets the number of CPU units that are used by the Fargate task, the default is 256.

`desiredCount` – The desired number of instantiations of the task definition to keep running on the service.

`new ecspatterns.ApplicationLoadBalancedFargateService` – here the Application Load Balanced Fargate Service resource is instantiated from the ECS patterns library. We reference the cluster we created in the previous section to let AWS CDK know where to deploy the Fargate Service.

In the `taskImageOptions` we define the details for the container such as the image. We create the image from the asset folder in our project by doing: `const image = ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample');`. AWS CDK will automatically pull the amazon-ecs-sample image from Amazon ECR and use that to deploy the Fargate service.

The `containerPort: 80` tells which port to expose from the Fargate service.

The `logDriver` is not required, AWS CDK will automatically create it for you, but by default, it doesn’t set retention on the logs. So I’ve included an example to show how you can set a retention rate of one year on the AWS Logs of the Fargate Service by doing: `logRetention: logs.RetentionDays.ONE_YEAR`.

## TL;DR just give me the code of the Application Load Balanced Fargate Service!

The code for this article is available on my [GitHub repository](https://github.com/dannysteenman/aws-cdk-examples/tree/main/application-load-balanced-fargate-service)

## Conclusion

So to finish up we’ve:

- Created a VPC
- Created an ECS Cluster
- Created an Application Loadbalanced Fargate Service

Using “higher-level” constructs or so-called “patterns, such as the `aws-ecs-patterns` we’ve used in this example does a lot of the heavy lifting in creating a lot of AWS resources and including sensible defaults.

Using these patterns can save a lot of “Development” time which is definitely a huge advantage. A downside of using such patterns is that you have less customizability because of the sensible defaults that were already baked into the library.

#### Want to read more from our AWS ambassador Danny?

He regularly writes about the newest updates, learnings and personal experiences on AWS.

[Read more ](https://towardsthecloud.com/)

![Danny Steenman, Principal Cloud Consultant](https://7979774.fs1.hubspotusercontent-na1.net/hubfs/7979774/Danny%20Steenman%2c%20Principal%20Cloud%20Consultant.jpg)

<https://www.linkedin.com/shareArticle?mini=true&url=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk> <https://twitter.com/intent/tweet?text=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk> [mailto:info@example.com?&subject=&body=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk](mailto:info@example.com?&subject=&body=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk) <https://web.whatsapp.com/send?text=https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk>

![](https://www.cloudnation.nl/hubfs/CN_Rond__0039_Danny2.jpg)

**Danny Steenman** Principal Consultant

 Publish date: 27 October 2022

## More knowledge, howto's and insights

[![](https://7979774.fs1.hubspotusercontent-na1.net/hubfs/7979774/Right%20Banner%20size%20%288%29.png)

News

AWS

## CloudNation achieves AWS Premier Partner status

 Read more 

](https://www.cloudnation.nl/en/inspiration/blogs/cloudnation-achieves-aws-premier-partner-status) [![](https://7979774.fs1.hubspotusercontent-na1.net/hubfs/7979774/CloudNation%20Knows%20How%20Leading%20cloud%20modernization%20in%202025%20and%20beyond%20%288%29.png)

News

Knowledge

AWS

## How we built a real-time heartbeat processing pipeline at scale in AWS

 Read more 

](https://www.cloudnation.nl/en/inspiration/blogs/how-we-built-a-real-time-heartbeat-processing-pipeline-at-scale-in-aws) [![](https://7979774.fs1.hubspotusercontent-na1.net/hubfs/7979774/Right%20Banner%20size%20%285%29.png)

News

Knowledge

AWS

## Don't let Amazon EC2 be your attacker's way in

 Read more 

](https://www.cloudnation.nl/en/inspiration/blogs/dont-let-ec2-be-your-attackers-way-in)

<https://www.cloudnation.nl/>

Follow us: <https://www.linkedin.com/company/cloudnation-nl/> <https://twitter.com/cloudnationnl>

##### Contact

 Kosterijland 10

 3981 AJ Bunnik

[![blue-chat-icon](https://www.cloudnation.nl/hubfs/Development%20assets/blue-chat-icon.svg)   Chat with us

](https://www.cloudnation.nl/en/inspiration/blogs/application-load-balanced-fargate-service-example-in-aws-cdk#hs-chat-open) [![blue-phone-call](https://www.cloudnation.nl/hubfs/Development%20assets/blue-phone-call.svg)   +31 (0)6 48 016 896

](tel:0031648016896) [![blue-mail](https://www.cloudnation.nl/hubfs/Development%20assets/blue-mail.svg)   info@cloudnation.nl

](mailto:info@cloudnation.nl) ![iso 27001](https://www.cloudnation.nl/hubfs/iso%2027001.svg)  ![gdpr compliant](https://www.cloudnation.nl/hubfs/gdpr%20compliant.svg)

 

![iso 27001](https://www.cloudnation.nl/hubfs/iso%2027001.svg)  ![gdpr compliant](https://www.cloudnation.nl/hubfs/gdpr%20compliant.svg)

 

##### CloudNation

[ About CloudNation ](https://www.cloudnation.nl/en/about-us) [ Careers ](https://www.cloudnation.nl/werken-bij) [ CloudNation Academy ](https://www.cloudnation.nl/en/cloud-academy) [ Contact ](https://www.cloudnation.nl/contact)

##### Partners

[ All our partners ](https://www.cloudnation.nl/en/partners) [ AWS ](https://www.cloudnation.nl/en/partners/amazon-web-services#aws-partner) [ Azure ](https://www.cloudnation.nl/en/partners#microsoft-azure-partner) [ And lots more ](https://www.cloudnation.nl/en/partners)

##### Knowledge, howto's and insights of CloudNation in your mailbox