Re:Deploying a Rails 5.2 PostgreSQL App on AWS Elastic Beans...
by timf on Friday November 30, 2018 @12:01AM
(#18566825)
New environments are given a new, uniquely named security group (SG) by the service. Additional SGs can be supplied to allow access to the environment. There is a situation you can get into if you supply an SG auto-created by another environment which might be what is happening here? The documentation has a note that calls out how to avoid this dependency issue [1]. If that is not what is happening here, I am happy to help but might need more information about your environments.
[1] - https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using...
Re:Deploying a Rails 5.2 PostgreSQL App on AWS Elastic Beans...
by nicoburns on Thursday November 29, 2018 @09:05AM
(#18560188)
My understanding is that EB is a packaging together of lower-level AWS components (like auto-scaling groups) that you can use individually and patch together yourself if you wish. Maybe that could be a route to look into?
Re:Deploying a Rails 5.2 PostgreSQL App on AWS Elastic Beans...
by lettergram on Thursday November 29, 2018 @10:00AM
(#18560618)
It is, I've gone through before and done that, took me a couple hours. But either way, this seems like it should be obvious to the AWS maintainers and should be fixed.
Re:Deploying a Rails 5.2 PostgreSQL App on AWS Elastic Beans...
by spleen on Thursday November 29, 2018 @08:59AM
(#18560144)
I would recommend separation of those applications into respective sub-accounts. The hierarchy can be defined in AWS Organizations and you avoid resource overlapping of any kind.
Re:Deploying a Rails 5.2 PostgreSQL App on AWS Elastic Beans...
by lettergram on Thursday November 29, 2018 @10:02AM
(#18560629)
All these applications use the same backend and what not. This makes it easier to share access / permissions vis security groups and IAM role. Its actually separated quite well, just rediculous that if I try to destroy an environment I can't.
Apparently, they all try to create the same named security group (as well as other components). This happens even if you change the security groups after launch. So it'll error out and be unable to delete the rest of the components. Leaving a "ghost" environment.
That's just one of my many, many frustrations with it. I'm considering moving back to digitial ocean (where I was). However, the billing breakdown is nice to share with clients