Questions tagged [opsworks]

AWS OpsWorks configures ec2 instances using Chef for Linux and Windows

AWS OpsWorks is an Amazon service that configures Elastic Compute Cloud instances using Chef for Linux and Microsoft Windows Server


76 questions
0
votes
1 answer

Using Redis for multiple Instances for session management

Hi We are in the process of implementing AWS opsworks. There will be multiple instances of PHP App Servers and one instance of mysql. We are planning to use redis and phpredis for session and data management. Very new to Redis so need help on this…
0
votes
2 answers

How AWS opsworks manages user uploaded content

Might be a rookie question but unable to get clear answer on the web, so please help. Scenario is: I have two instances of php server (Let's say A and B), one instance of loadbalance and one of mysql. Stack is almost ready but one confusion in my…
0
votes
1 answer

Is it okay to delete .git directory in AWS OpsWorks S3 deployment?

I'm using AWS OpsWorks S3 deployment for quite some time. Suddenly the deployment fails. When I checked the instance, it turns out the disk is full. When I checked the release path inside the /srv/www/app/release/release_paths has a .git directory…
Petra Barus
  • 121
  • 1
  • 5
0
votes
1 answer

opsworks/chef databag where to put the json file?

Hello I'm reading this howto: https://github.com/imoglobe/opsworks-cookbooks/blob/master/user/README.md but it does not mention where to put the data bag in the cookbook with the list of users in json format.. I have done some searching and answers…
merge delete
  • 115
  • 1
  • 8
0
votes
1 answer

AWS OpsWorks - How do I execute a custom recipe from the command line against a specific layer?

I want to do the equivalent via the CLI that clicking on the stack, selecting only instances in a specific layer and running Execute Recipes command (or alternatively trigger the Configure lifecycle step). I need to do this programmatically, there…
TheFiddlerWins
  • 2,973
  • 1
  • 14
  • 22
0
votes
1 answer

OpsWorks nginx namespace conflict

I want to deploy one of my cookbooks, nginx-passenger, to opsworks. I've tested the cookbooks locally already using testkitchen and all the recipes and tests passed successfully. However, when using opsworks, the run of nginx-passenger::default…
Saith
  • 1
  • 1
0
votes
1 answer

OpsWorks Berksfile processing failed: (Encoding::InvalidByteSequenceError)

A few hours ago all my OpsWorks stacks started failing to update_custom_cookbooks. They are all failing on "Install the cookbooks specified in the Berksfile and their dependencies" with the error: in `encode': "\xC3" on US-ASCII…
Peter M
  • 953
  • 2
  • 14
  • 27
0
votes
1 answer

Amazon RDS load balancing and performance

My question is simple. Is it possible to load balance rds (master and read-replicas) using the same haproxy instance used for application load balancing? This would mean that the IP of the application and the IP of the database would be the same.…
spdionis
  • 101
  • 1
0
votes
1 answer

Limit a user to one instance in stack on Opsworks

I have multiple instances on a stack on opsworks. I also have IAM for the devs using the stack. Now, if I want to limit one user to use only his instance and not have control on any other instance, is there a way to do it?
Shrinath
  • 297
  • 1
  • 3
  • 16
0
votes
1 answer

Connect to RDS inside a VPC using Opsworks located in another VPC

I have a RDS instance (mysql) inside a VPC called vpc-a (10.0.0.0/16). This instance is private, it can only be accessed from vpc-a. We created a stack on opsworks inside another VPC called vpc-b (10.1.0.0). We want to connect opsworks to the RDS…
0
votes
2 answers

AWS opsworks build lifecycle and amazon linux

I've been using Opsworks recently and am really impressed by the GIT integration to deploy apps across my server estate. But I have a requirement due to an external library to use PHP 5.4 > The Amazon Linux offering has PHP5.3 installed. Now I…
TommyBs
  • 179
  • 2
  • 10
0
votes
2 answers

Clone git repo via https without entering the password manually

I've got a stack in Amazon OpsWorks and within this stack I got a RailsApp Layer. The repository is only accessible via https and is protected with username and password. On my machine I can clone the repo via: git clone…
soupdiver
  • 797
  • 2
  • 8
  • 26
0
votes
1 answer

How can I install phpmyadmin on OpsWorks?

I am trying to install phpmyadmin on opsworks using a custom cookbook. I am very new to chef and so I really don't know what I am doing. I'm using this cookbook: https://github.com/priestjim/chef-phpmyadmin And specified my Stack to use that custom…
minkruben
  • 3
  • 1
0
votes
1 answer

AWS Opsworks app deploy not updating

I have an app deployed, and then modify a deploy recipe to make a folder writable, but nothing changes when I deploy the app again. Do the chef recipes get cached? Do I have to boot a new instance every time my chef recipe changes in the deploy…
Errol Fitzgerald
  • 475
  • 1
  • 7
  • 17
-1
votes
1 answer

Deploy or shut-down nodes based on load with Chef

AWS has OpsWorks, which is their own take on Chef. We have several reasons[1] why we want to use a "normal" chef-server/-client setup. But OpsWorks has one feature that I cannot find in chef-server/-client setups: load based instances. They allow a…
berkes
  • 1,975
  • 3
  • 15
  • 18