This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| There are two ways of deploying microservices for production on AWS Cloud: | |
| 1. Fire up an AWS ECS cluster running Docker containers (or through AWS Fargate). | |
| 2. Adopt a serverless approach by using AWS Lambda and API Gateway. | |
| You can interface the above two with AWS API Gateway, where you define all the Web service endpoints, and map those endpoints to either an ECS cluster or some Lambda functions. | |
| It is common to put an enterprise application in a Docker image, then use it in an ECS cluster. From my experiences, I have often seen the whole JEE applications or spring boot applications being wrapped up inside some Docker images and uploaded in AWS ECR. A Docker-based cluster works fine for the microservices it provides and AWS ECS scales well too. But when you put maintenance in thinking, such as the ongoing cost of DevOps, you might just want to have a second thought. | |
| Can we decouple the things we do in a Docker image? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function () { | |
| "use strict"; | |
| // for better performance - to avoid searching in DOM | |
| var content = $('#content'); | |
| var input = $('#input'); | |
| var status = $('#status'); | |
| // my color assigned by the server | |
| var myColor = false; |