New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rds by cloudformation #75

Open
wants to merge 22 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@selmertsx
Contributor

selmertsx commented Jul 25, 2017

RDS設定方法のPRです!
DBのusernameとpasswordは外部引数としました。

selmertsx added some commits Jul 24, 2017

[cloudformation] set DBInstaceClass to db.t2.micro
t2.micro is enought, because this rds needs a few data and accesses.
[cloudformation] set DBSecurityGroups in RevieeeAppServerSecurityGrou…
…p for RevieeeDB

rds will be accessed by nginx, and nginx instance has RevieeeAppServerSecurityGroup
[cloudformation] set AllocatedStorage to 1 in RevieeeDB
1 GB storage is enough for Revieee, because our service is less than 100,000 record even if all the tables are combined.
[cloudformation] set MasuterUserName and Password to Parameters in Re…
…vieeeDB

MasterUsername and MasterUserPassword cannot set the value to cloudformation because of security.
[cloudformation] constrains DBUserName and DBPassword Parameters
so that these necessary parameter are not lacking
@pataiji

いくつかコメントしましたー

Show outdated Hide outdated infrastructure/cloudformation.yml
Show outdated Hide outdated infrastructure/cloudformation.yml
Show outdated Hide outdated infrastructure/cloudformation.yml
Show outdated Hide outdated infrastructure/cloudformation.yml
Show outdated Hide outdated infrastructure/cloudformation.yml

selmertsx added some commits Jul 26, 2017

[cloudformation] remove DeletionPolicy: Snapshot in RDS
there is no big problem if records are deleted in our service.
[cloudformation] create SpotFleet IAM::Role before EcsSpotFleetReques…
…t creates

bugfix bellow error

```
Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: Circular dependency between resources: [EcsSpotFleetRequest]
```
fix ecs_cluster name to bugfix below error
`Circular dependency between resources: [EcsSpotFleetRequest]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment