Friday, February 7

Serverless Microservices Architecture on AWS

Imagine you are a start-up company planning to re-architect the current 3-tier application (built on web server, JBOSS, MySQL) into a new Microservices architecture. Like many start-ups you  are confident that your startup will be the next big thing and you expect significant, rapid growth in the next few months. With this in mind, you need a cost effective solution that can keep pace and scale with growing customers base. The new architecture should -
  1. Support Service Discovery
  2. Should have Granularity of Microservices
  3. Should have data consistency across Microservices
  4. Should load balance the load, distributing load across instances
  5. Should have a robust database design (1 DB instance per microservices or 1 common DB instance) 
  6. Should have auto scaling of microservices when load increases or decreased
  7. Solution should have well implemented application logging
  8. Solution should be such to Avoid any Downtime
  9. Solution should use of managed services to manage the microservices architecture on AWS cloud
As AWS architect you are required to recommend a manageable, secure, scalable, high performance, efficient, elastic, highly available, fault tolerant and recoverable architecture that allows the start-up to organically grow. The architecture should specifically address the requirements/concerns as described above.
Let's look at the existing mock architecture deployed on, on-premise hardware ( company's own server hosted at a data center)


Start-up Requirements & Concerns 

Following are the key requirements and concerns of the startup company  that the new architecture should address

Why Microservices Architecture?

The following are key points that build a case for a new Microservices architecture on AWS Cloud


Developing Microservices 

The following are key devops considerations for developing a Microservices architecture.



Proposed Microservices Architecture on AWS

The following diagram shows a sample Server-less Microservices architecture on AWS Cloud


Leveraging AWS Managed Services

The following diagram shows the key features of AWSS Managed Services offering that can be leveraged by the company to deploy a well designed application utilizing the AWS server-less model

Recommended Roadmap For Microservices Architecture On AWS 

Key things to consider while planning the roadmap for Microservices on AWS Cloud.

Key benefits of ASW Cloud

Key points
  1. Manageable : By use of lifecycle Monitoring & Management tools

  2. Secure : Proven security tools, services & template automate 360 security

  3. Scalable: Auto scaling & high speed distributed n/w ensures scalability

  4. High performance : Efficient use of AWS services, tools & architecture

  5. Elastic & Efficient: Serverless architecture, Elastic EC2 & fast provisioning

  6. Highly available & Fault tolerant:   ELB & Multi zone deployment

  7. Recoverable architecture-  4 DR models efficient & reliable Disaster Recovery

In summary

Moving from on premise to AWS
  1. Resources training & certification at beginning will be critical for success of program
  2. Leverage AWS Managed Services to define & implement cloud strategy & roadmap
  3. Three stage benefits by leveraging AWS, Microservices and Serverless computing
  4. Leverage cost benefit of cloud to launch test environments before switching code base
  5. AWS has multiple services, reusable templates & objects that should be leveraged
AWS & Microservices architecture address the start up requirements
  1. Understand the technology changes
  2. Automation, Configuration Management, Design Documenting design & technology decisions is critical for success of Microservices
  3. Move to Microservices is an incremental process & needs training
  4. Design Review will ensure that we don’t create another monolith
  5. Reorganize development and IT teams
  6. DevOps teams to be empowered & recognized for adapting new development culture

Links




1 comment:

MUSTREAD : How can you use Index Funds to help create wealth? HDFC MF Weekend Bytes

https://www.hdfcfund.com/knowledge-stack/mf-vault/weekend-bytes/how-can-you-use-index-funds-help-create-wealth?utm_source=Netcore&...