Skip to content

Commit

Permalink
Update notes for week6 and week7
Browse files Browse the repository at this point in the history
  • Loading branch information
madisonjordan authored May 18, 2023
1 parent a547fe4 commit dfccd88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions journal/week6.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ I used a command to open the preview url `gp preview $(gp url 3000) --external`,
#### Key Takeaways
<!-- Key takeaways for this week -->
- It's better to use the ECR for pulling images than DockerHub when launching services from a container registry.
- Due to the "one process/concern per container" design, there is no benefit to using multithreaded webservers that were used on virtual machines, such as Gunicorn. You should scale out the containers as needed rather than have all the processes run on one container needlessly.
- In a container, consider a vCPU as a CPU with the provisioned cycles/Ghz rather than thinking of it in terms of threads and hyperthreading.
- Most of the logging, scaling, etc is built into FARGATE's ochestration itself. (The infrastructure for FARGATE is managed by AWS rather than needing to be setup by the user.)
- On FARGATE, you can only use AWSVPC mode. ECS you can use host, bridge, etc.
- In AWSVPC network mode, you can make different security groups per service on the ENI.
- Service Connect expands on App Mesh and runs Cloud Map in the background to make configuring Envoy (proxy) more manageable at scale.


#### Questions
Expand Down

0 comments on commit dfccd88

Please sign in to comment.