Creating a production ready serverless project with continuous integration and deployment with CircleCI Code to start the video: github.com/Sam... Code at the end of the video: github.com/Sam...
I've not used code Pipeline yet (I'm learning it now) but have years of experience with CircleCI so it was easier for me to make this video well. They both have a free tier but I think CircleCI is normally cheaper (but could depend on your use case). There are also some features of CircleCI that I don't think Code Pipeline has yet, but also the same the other way around. In planning to do a Code Pipeline video soon and then maybe a comparison down the line.
Can you please make one video on How to design a serverless enterprise application with node js ? There are many videos on how to create Lambda, Create DynamoDB and connect with lambda also in s3 such things, But unfortunately, I am not able to find any design architecture for a big project in serverless. Like it is a quite tough modeling table in one serverless.yml. So it will very helpful if you share your knowledge and Thank you so much, appreciate you hard work sir, Thanks.
one of the advantages of Serverless is that it lends its self very well to micro-service based design. This means you can have quite small services that just work together. I'm planning on doing a video on how I've designed and built a serverless application.
@@CompleteCoding thank you so much it will be better if you also implement ci/cd with this i think that would be a nice approach using gitlab or other yml script. Thank you so much .
Hello sir can you please make one video how to set up debug mode in server less application for Windows and mac in vscode. I am new to this so I am having some issues with launch program, i am always having attribute program does not exist issue. Thank you
Thanks for the effort!! Very helpful tutorial! One question: what is the strategy to deploy via CircleCI serverless applications in different environments? I mean, my serverless.yml has variables associated w/ the environment and I also have branches associated w/ the each env.. How to put all this together? How to push code to development branch and deploy application to serverless development env? what about any other env? Thank!
Great question. In the circle CI steps you have access to some extra variables around branches. You can use this to change the value things, such as profiles, in your build. Here's an example of that in a bash script that gets called by a build step: aws_profile=` case $CIRCLE_BRANCH in 'development' ) echo "profile_dev" ;; 'uat' ) echo "profile_uat" ;; 'master' ) echo "profile_prod" ;; ` You can then use that `aws_profile` in the sls deploy command. Because this is just bash, there's loads you could do with this. deploy to a bucket for each branch prefix all API urls with the branch name versioned releases
@@CompleteCoding Thank you again!! That worked smoothly!! Another question: I'm also using this node image to deploy serverless framework. Thing is: I'm using python3.7 as runtime for lambda.. What is the strategy to test my python scripts/functions/lambdas since I using this node image? As a requirement I need to install a specific python library (pytest) to perform the tests!
There are other orbs available as part of Circle CI. There's definitely one for python so you should be able to use that and then run your python tests.