Comments (3)
For me the complexity of managing that service for deploys is not outweighed by the simplicity of systems like GitHub Actions or CircleCI.
100% agreed. Having fully gone through the CodePipeline + CodeBuild, I think in the name of focus + ease of upstart, adding this content section is not in the best interest of the project.
I'll close this for now.
from lamby.
Turns out it wasn't so bad, I just needed to follow what other CodeBuild SAM users are doing.
General Steps:
sam package
outputpackage.yml
or anytemplate.yml
is spit out as anartifact
from the CodeBuild stage.- CodePipeline consumes the template and orchestrates CloudFormation to process that file.
Step 2 offloads/acts-as the sam deploy
to CloudFormation directly. Now that CodePipeline/CloudFormation is handling the AutoPublishAlias: live
I can let it take as long as it needs.
Let me know if there's a section to be had. Happy to help where it makes sense.
from lamby.
Hey @nitsujri Thanks, I was out the week prior and I'm working thru some old emails. Always appreciate your feedback, some thoughts.
First, let me share that I am not a fan of CodePipeline. For me the complexity of managing that service for deploys is not outweighed by the simplicity of systems like GitHub Actions or CircleCI. That said, I've not yet had the need for an advanced canary deploy option offered by SAM & CodePipeline. If you do, that is fine and why I think a linked blog post from the Lamby site on said topic (or maybe guide) would be helpful. So totally open to doing that.
Second, here is some background on AutoPublishAlias: live
as to why it is in the starter and mentioned in that Cold Start issue you linked. I have found that when deploying Rails applications that take a descent amount of traffic that the deploy alias will soften the downstream blow of users hitting that application. This happens even when you do not use provisioned concurrency. In fact, the CI/CD system will finish the sam deploy even before traffic is fully rolled over. Often times it takes a minute or two to switch the alias. When you combine that with how it helps soften rollouts in a clean way with less errors... that's all the deploy method I need.
Again, for me, canaries are kind of moot. We suss out their need in staging. Not to say they are not useful for some and I love the ability. But not the engineering to get there yet because... Code(Deploy|Pipeline) is not super easy. Hence, guide help please.
from lamby.
Related Issues (20)
- Issue while runing ./bin/deploy from the RAils on Lambda in 5min guide HOT 14
- Outline Arm64 Steps HOT 3
- qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2 for M1 HOT 6
- libmysqlclient.so.18: cannot open shared object file: No such file or directory HOT 3
- Documentation on how to Add Middleware (V4) HOT 2
- Document what exact AWS-managed policies are needed for the access key HOT 5
- SIGTERM SignalException: Init error when loading handler HOT 5
- Codespaces Share HOT 1
- Don't set percent encoded queries into Rack Environment's `QUERY_STRING` HOT 1
- cannot load such file -- config/environment HOT 3
- Too slow even with provisioned provisioned concurrency HOT 6
- Opinionated OpenID Connect HOT 2
- Postgres ? HOT 2
- Ensure VPC Lattice Events Work HOT 2
- Use Image Devcontainer Step in GitHub Actions
- Unable to run my app or the cookiecutter... getting error `materialize': Could not find HOT 14
- Performance vs traditional server HOT 4
- uninitialized constant Rack::RACK_MULTITHREAD HOT 5
- Local Development
- Access to filesystem - Errno::EACCES (Permission denied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lamby.