Hey all. I’ve spend some time to write about a new AWS Service called CodeStar. It allows us to set up continuous integration on AWS without having to manage a Jenkins server or external CI service. It uses AWS Developer tools under the hood.
I thought it would be a nice time to write about deployment and automating it for Meteor since its probably one of the least covered parts in the meteor guide.
Any feedback is appreciated. I did not yet go over it more then 100 times so there might be some flaws or silly mistakes.
The series is the first of many articles to come on my blog. However, the blog is also new. I’m setting up things, changing and tweaking the theme etc. But given the circumstance here is the complete serie for now:
There are going to be follow ups about setting up SSL and HTTPS using loadbalancers, creating test steps etc etc. Anyway, this is the basic flow for now and it will get you far enough to save huge amounts of time
Feel free to occasionally return to my blog’s index to keep an eye out on follow ups and other articles. There’s no social media plugins yet so sharing is appreciated
Thanks for mentioning. Maybe I should make a more explicit statement about it. The reason why METEOR_SETTINGS are an environment variable is to provide a convenient way to put app specific settings there without having to change the codebase. (at least that’s how I see it). However the METEOR_SETTINGS are json format, which I don’t find a ‘simple string’ is often escaped like with EBS. How I work around this is to put the a file on a file storage like S3, pull it to the server and use a command like below to start meteor with it:
There’s a good topic on using nginx with Meteor on Stackoverflow. Just to be sure… AWS loadbalancers don’t play nicely with websockets. Using nginx directly is indeed a good alternative (and I think its EB’s default setting for node apps).
(sorry btw, I wasn’t ignoring you. Its just a bit busy here atm)