You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CDA.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -836,3 +836,39 @@ Official SDKs:
836
836
- Multi Container Docker
837
837
- Preconfigure Docker
838
838
- Write your own custom platforms (If the any of the above is not supported)
839
+
840
+
------------------------------------------
841
+
842
+
# CICD: Continuous Integration and Deployment
843
+
844
+
- Why use CICD?
845
+
- Ideally, you'd want to set up a CICD to help you automate multiple steps to automate builds, push code to a repository and then deploy to your updated code to AWS.
846
+
- This is a faster, efficient way that also helps minimize potential mistakes as opposed to running multiple manual steps
847
+
- Automate deployement to different stages (dev, staging, and production)
848
+
- May add manual approvals when needed
849
+
- To be a proper AWS developer, you'd need to learn CICD
850
+
851
+
- CICD Services in AWS
852
+
- AWS CodeCommit: storing our code (similar to Github)
853
+
- AWS CodePipeline: automatig our pipeline from code to ElasticBeanstalk
854
+
- AWS CodeBuild: To build and test code
855
+
- AWS CodeDeploy: deploying code to EC2 fleets (not Beanstalk)
856
+
857
+
- Continuous Integration
858
+
- Developers push code to a repository (Github, Bitbucket, CodeCommit, etc)
859
+
- A testing or build server checks the code as soon as it's pushed to the repository (CodeBuild, Jenkins CI, etc)
860
+
- The developer gets feedback about the tests and checks that have passed or failed
861
+
- Benefits of CI:
862
+
- Find bugs and fix it early on
863
+
- Deliver fast as soon as the code is tested
864
+
- Deploy frequently
865
+
- Unblocked developers are happy
866
+
867
+
- Continuous Delivery
868
+
- Ensure that the software can be released reliably whenever needed
869
+
- Ensures deployment happen often and quick
870
+
- Ability to shift away from "one release every 3 months" to "5 releases a day"
0 commit comments