📰 AWS Compiled #006 - Architecting Resilient Microservices
Tags: aws, news, microservices, architecture
Published: 2020-10-09 14:59:07

```bash
# AWS Compiled is a bi-weekly curation of 
# AWS developer content and news. 
# This covers the topics that matter most to developers from 
# across AWS, the developer communities we support, 
# and the projects we contribute to.

$ git checkout -b AWS_Compiled_006
$ git commit -a -m 'Architecting Resilient Microservices'
$ git checkout main
$ git merge AWS_Compiled_006
```

**_Share your thoughts to better fit your needs by leaving comments or [emailing us](mailto:aws-developer-newsletter-feedback@amazon.com). You can also find additional developer news [here](https://aws.amazon.com/developer/news/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)._**

---
## Table of Content
 * [TECH SPOTLIGHT: Architecting Resilient Microservices](#Architecting Resilient Microservices)
 * [UPCOMING EVENTS](#UPCOMING EVENTS)
 * [FROM THE COMMUNITY](#FROM THE COMMUNITY)
 * [GUIDES AND TUTORIALS](#GUIDES AND TUTORIALS)
 * [RELEASE NOTES](#RELEASE NOTES)

---

### **TECH SPOTLIGHT: Architecting Resilient Microservices**
This week's Tech Spotlight is on **Architecting Resilient Microservices on AWS**. The popularity of [breaking up monolithic applications](https://aws.amazon.com/campaigns/modern-application-development/dev-guide-microservices/) in favour of microservice-based applications has increased greatly due to the ability to solve modern development challenges such as velocity, scalability, and reliability. Monolithic applications are fast to develop. However, they become difficult to scale and update as the codebase grows and many teams get involved. This is because each aspect of the application is tightly coupled, unlike microservice applications which are built with modular independent components. At AWS, we consider microservice architectures a key component of how we build.

A good starting point is to understand how the architecture of microservice-based applications differ from traditional ones, and the first step is to understand the [challenges with distributed systems](https://aws.amazon.com/builders-library/challenges-with-distributed-systems/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq), which in many cases are quite unique. This will help you think about [how to design your application using microservices](https://aws.amazon.com/solutions/case-studies/mcdonalds-home-delivery/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq). An example of this, McDonald’s Home Delivery system was built and launched in under 4 months using microservices architecture. Their microservices architecture allows the platform to scale to 20,000 orders per second, with sub 100ms latency.

Building distributed, microservice-based applications is quite different from desktop or monolithic application development and our Amazon engineers have learned a lot from their successes and failures over the years. While building Amazon and AWS, we learned valuable lessons, like how to think about [leader election](https://aws.amazon.com/builders-library/leader-election-in-distributed-systems/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq) or how we [avoid overload in distributed systems by putting the smaller service in control](https://aws.amazon.com/builders-library/avoiding-overload-in-distributed-systems-by-putting-the-smaller-service-in-control/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq). You can access these, and other learnings via the [Amazon Builders’ Library](https://aws.amazon.com/builders-library/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq) to take advantage of our experiences. As we like to say, there is no compression algorithm for experience, but these articles will help you reason about building your modern applications.

If you want to learn more about architecting and running microservices-based applications on AWS, come join us at the upcoming [AWS Dev Day on Modern Application Development](https://aws.amazon.com/events/aws-dev-day-modern-app-development/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq) on October 15, where we have 12 sessions to help you learn how to build modern application on AWS.

**Dive Deeper**
[Amazon ECS workshop](https://ecsworkshop.com/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)
[Amazon EKS workshop](https://www.eksworkshop.com/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)
[Serverless workshops](https://github.com/aws-samples/aws-serverless-workshops/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)
[Serverless with AWS CDK](https://github.com/darko-mesaros/workshop-serverless-with-cdk/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

---

### **UPCOMING EVENTS**

**DevDay, Oct 15, 2020**
Join us at AWS DevDay Online and deepen your modern app development knowledge with this free, virtual event. Participants can dive deep into any of the 12 sessions across our three tracks covering a broad range of topics including containers, serverless, event driven applications, infrastructure as code, application security and more.
[Register here](https://aws.amazon.com/events/aws-dev-day-modern-app-development/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)
 
**Building CI/CD Workflows for Serverless Applications, Oct 22, 2020**
Continuous Integration and Continuous Delivery are more than just buzzwords, they are accepted best practices of building modern software. With serverless applications, building your CI and CD workflows becomes even easier and faster to get up and running with a code to production flow. In this tech talk, we’ll cover the basics of building a pipeline for your serverless applications as well as how you can use serverless in your pipelines. We’ll cover the advanced capabilities of the AWS Code services and how you can modify your pipeline to use services such as AWS Lambda and AWS Step Functions to handle complicated tasks and perform sophisticated workflows on each run.
[Register here](https://pages.awscloud.com/AWS-Online-Tech-Talks_October-2020.html?webinar=2020_1012-SRV&sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)
 
**AWS re:Invent, Nov 30 - Dec 18, 2020**
Join the AWS developer community and subject matter experts as we embark on a 3-week digital re:Invent experience from Nov. 30 – Dec. 18. This year, re:Invent is fully virtual and free to attend. Sign up for emails to get the latest re:Invent news and information.
[Subscribe for updates](https://reinvent.awsevents.com/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

---

### **FROM THE COMMUNITY**
**AWS releases open source diagramming and visualization tool**
AWS announces Diagram Maker, an open source graphical user interface library for IoT application developers.
[Learn more](https://aws.amazon.com/blogs/opensource/diagram-maker-open-sourcing-iot-visualization/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

---

### **GUIDES AND TUTORIALS**
**Getting started with Travis-CI.com on AWS Graviton2**
Learn how to get started building, testing, and deploying quickly through Travis-CI.com on Graviton2.
[Get started](https://aws.amazon.com/blogs/opensource/getting-started-with-travis-ci-com-on-aws-graviton2/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

**Managing AWS Organizations using the open source org-formation tool**
In this three-part series, the creator of the open source tool org-formation explains how to manage AWS Organizations resources using infrastructure as code, how to integrate management of resources across accounts using task files, and how to deploy CloudFormation resources to multiple accounts using Organization Bindings.
[Dive in](https://aws.amazon.com/blogs/opensource/managing-aws-organizations-using-the-open-source-org-formation-tool-part-1/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

**Using the K3s Kubernetes distribution in an Amazon EKS CI/CD pipeline**
We explore how to add unit and integration testing to an Amazon EKS CI/CD pipeline, using the open source, lightweight K3s Kubernetes distribution.
[Start exploring](https://aws.amazon.com/blogs/opensource/using-the-k3s-kubernetes-distribution-in-an-amazon-eks-ci-cd-pipeline/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

---

### **RELEASE NOTES**
**AWS SSO credential profile support in the AWS Toolkit for JetBrains IDEs**
With this new release of the AWS Toolkit for JetBrains, customers can use federated credentials, MFA and AWS Single Sign-On (AWS SSO) to connect their IDEs to AWS. Using AWS SSO, your organization's users can sign in to Active Directory, a built-in AWS SSO directory, or another external identity provider (IdP) connected to AWS SSO and get mapped to an AWS Identity and Access Management (IAM) role. 
[Read more](https://aws.amazon.com/about-aws/whats-new/2020/09/now-available-aws-sso-credential-profile-support-in-aws-toolkit-for-jetbrains-ides/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

**The waiters feature in the AWS SDK for Java 2.x**
The waiters feature in the AWS SDK for Java 2.x is an abstraction that enables you to validate that AWS resources, such as DynamoDB tables or Amazon S3 buckets, are in a specified state before performing operations on those resources.
[Read more](https://aws.amazon.com/about-aws/whats-new/2020/10/announcing-general-availability-of-waiters-in-aws-sdk-for-java-2x/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

**AWS CodePipeline now Supports git clone for Source Actions**
AWS CodePipeline Source Actions for GitHub.com, GitHub Enterprise Server, and Bitbucket.org now support cloning of your git repositories. With the new feature, when you create a connection to an external source provider in the Source Action, CodePipeline will clone the git repository to fetch the commit history and metadata.
[Read more](https://aws.amazon.com/about-aws/whats-new/2020/09/aws-codepipeline-now-supports-git-clone-for-source-actions/?sc_channel=sm&sc_campaign=aws_compiled_dev_006&sc_geo=mult&sc_country=global&sc_outcome=acq)

---