• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

aws-samples/amazon-ecs-java-microservices: This is a reference architecture for ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

aws-samples/amazon-ecs-java-microservices

开源软件地址:

https://github.com/aws-samples/amazon-ecs-java-microservices

开源编程语言:

Java 61.7%

开源软件介绍:

Introduction

Java Microservices Deployed on EC2 Container Service

Containers are a method of operating system virtualization that allow you to run an application and its dependencies in resource-isolated processes. Containers allow you to easily package an application's code, configurations, and dependencies into easy to use building blocks that deliver environmental consistency, operational efficiency, developer productivity, and version control. Containers can help ensure that applications deploy quickly, reliably, and consistently regardless of deployment environment. Containers also give you more granular control over resources giving your infrastructure improved efficiency.

Running a single container on a single server is easy. ECS is a cluster management service that helps you manage a group of clusters through a graphical user interface or by accessing a command line. With ECS you can install, operate, and scale your own cluster management infrastructure. With simple API calls, you can launch and stop Docker-enabled applications, query the complete state of your cluster, and access many familiar features like security groups, Elastic Load Balancing, EBS volumes, and IAM roles. You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource needs and availability requirements. You can also integrate your own scheduler or third-party schedulers to meet business or application specific requirements.

This is a reference architecture that shows the evolution of a Java application from a monolithic application that is deployed directly onto instances with no containerization or orchestration, to a containerized microservices architecture orchestrated using Amazon EC2 Container Service.

We will take the Spring Pet Clinic as the base to extend from. A high level architecture of PetClinic app is as follows, alt text

So lets get to it,

  1. Part One: Moving existing Java Spring application to a container deployed using ECS
  2. Part Two: Breaking the monolith apart into microservices on ECS
  3. Part Three: Create a continuous integration and continuous delivery

Prerequisites

You will need to have the latest version of the AWS CLI and maven installed before running the deployment script. If you need help installing either of these components, please follow the links below:

  1. Installing the AWS CLI
  2. Installing Maven
  3. Installing Docker
  4. Installing Python
  5. Installing JQ



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
CodeExplainedRepo/Weather-App-JavaScript: Create a Weather App With JavaScript发布时间:2022-06-23
下一篇:
helun/Ektorp: Java API for CouchDB发布时间:2022-06-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap