Questions tagged [aws-opsworks]

AWS OpsWorks is a flexible application management solution with automation tools that enable you to model and control your applications and their supporting infrastructure.

AWS OpsWorks is a flexible application management solution with automation tools that enable you to model and control your applications and their supporting infrastructure. OpsWorks enables you to manage the complete application lifecycle, including resource provisioning, configuration management, application deployment, software updates, monitoring, operations, and access control. OpsWorks supports a wide variety of application architectures from basic to complex N-tier.

542 questions
91
votes
9 answers

AWS OpsWorks vs AWS Beanstalk vs AWS CloudFormation?

I would like to know what are the advantages and disadvantages of using AWS OpsWorks vs AWS Beanstalk and AWS CloudFormation? I am interested in a system that can be auto scaled to handle any high number of simultaneous web requests (From 1000…
22
votes
6 answers

How are people testing opsworks cookbooks?

I have a fairly complex deployment of dynamically configured instances of a rail apps on nginx using passenger that I currently use Capistrano for. I am trying to automate the entire process on Opsworks from creating the stack, layers, instances and…
John Lemp
  • 5,029
  • 3
  • 28
  • 36
14
votes
3 answers

How to fix PG::DuplicatePstatement: ERROR?

I would like to know how to prevent this type of error. So far I tried disabling prepared statements via the database configuration at AWS Opsworks: Eg: Database Configuration }, "deploy": { "app_name": { "database": { …
ipegasus
  • 14,796
  • 9
  • 52
  • 76
14
votes
3 answers

Can I automate an application deployment via webhook to OpsWorks?

I want to set up an webhook from our Github account so it automatically starts an deployment task in OpsWorks. It seems to be possible according to the documentation - but can't find any examples or smart lib which is unusual for the Internets. ;)
Christian Landgren
  • 13,127
  • 6
  • 35
  • 31
13
votes
7 answers

Installing rmagick gem on ubuntu 14.04

I'm trying to deploy an app on OpsWorks, but there are problems with installing rmagick gem. I have the following OS packages: libmagickwand-dev imagemagick libmagickcore-dev Below is the log file with errors during…
complete_morons
  • 823
  • 2
  • 8
  • 14
13
votes
4 answers

How to precompile assets with Chef?

OpsWorks isn't precompiling assets on deploy. I found this recipe in this thread but I think it's not complete though, or missing something because I get an error about release_path not being found. precompile.rb: Chef::Log.info("Running…
manafire
  • 5,984
  • 4
  • 43
  • 53
12
votes
2 answers

login using "ec2-user" instead of root using user data in aws

I have an Amazon EC2 instance based off of a RHEL 6.4 64bit AMI. After writing some shell scripts; I created my own AMI Image off of it. I'm writing user data section which will remove the contents under /home/ec2-user(sudo rm -rf /home/ec2-user/*)…
xyz123
  • 121
  • 1
  • 1
  • 5
12
votes
1 answer

How to handle DB migration using AWS deployment tools

Amazon Web Services offer a number of continuous deployment and management tools such as Elastic Beanstalk, OpsWorks, Cloud Formation and Code Deploy depending on your needs. The basic idea being to facilitate code deployment and upgrade with zero…
11
votes
2 answers

setting up mongodb via AWS opsworks

I am trying to setup a rails stack on AWS Opsworks and i want to use mongodb as the database. I think that you set this up by creating a new custom layer and adding your chef reciepts to the relevant life cycle hooks but i am unsure as to what…
10
votes
3 answers

AWS OpsWorks Environment variables not working

I am running Ubuntu 14.04 LTS 64 bit Rails Application and I am unable to access my App environment variables. In OpsWorks App panel, I set my environment variables, say: MYKEY: 1234 Then I save and deploy my app again to make these visible. In my…
peterept
  • 4,407
  • 23
  • 32
9
votes
2 answers

how to access mongodb instance outside a VPC

I followed the AWS quickstart guide for creating a MongoDB cluster. This created a NAT Instance (Public subnet) as well as a single PrimaryReplicaNode instance (internal IP only). I can SSH into the NAT and furthermore, I can SSH into the Primary…
9
votes
2 answers

AWS Opsworks Custom Layer Deployment

I am trying to use a custom layer in AWS Opsworks to add a nginx webserver. I have successfully created the layer, I added my app via GIT (no password on repo), but when I deploy the command is "successful" but I don't see any of my code on my…
sudoyum
  • 156
  • 14
8
votes
2 answers

How do I update new instances started by AWS auto scaling?

We use AWS cloudformation service to initialize our stack, and set up the auto scaling service to bring up new app servers when load is rising. My understanding is that Auto Scaling can only start predefined AMI as new instances. These instances…
NeoWang
  • 17,361
  • 24
  • 78
  • 126
7
votes
5 answers

Cannot set a property of cognito userpool client via cloudformation

I am trying to run congnito via cloudformation and everything works but there is section in cognito as follows: As you see there is section "Enable identity providers" and I can not find where I can set it to my cognito user pool in…
7
votes
2 answers

OpsWorks overriding database.yml / ignoring custom JSON

When I deploy a Rails app with OpsWorks, a new database.yml gets created in the shared directory. It ignores the existing database.yml (which rightfully shouldn't be in the repo), and I've also tried specifying custom JSON but nothing works. Maybe…
manafire
  • 5,984
  • 4
  • 43
  • 53
1
2 3
36 37