Deploying Nextcloud on AWS ECS with Pulumi #6721
Unanswered
joevizcara
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i am not a devops engineer. i appreciate any critique or correction.
code: gitlab github
Deploying Nextcloud on AWS ECS with Pulumi
This Pulumi programme deploys a highly-available, cost-effective Nextcloud service on AWS Fargate with a serverless Aurora PostgreSQL database.
Deployment Option 1 (GitOps)
The first few items are high-level instructions only. You can follow the instructions from the hyperlinked web pages. They include the best practices as recommended by the authors.
pulumi-user
.pulumi-group
pulumi-user
to thepulumi-group
User Group.IAMFullAccess
policy topulumi-group
. TheIAMFullAccess
allows your IAM User to add the remaining required IAM policies to the IAM User Group using the automation script later.AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
,PULUMI_ACCESS_TOKEN
, andPOSTGRES_PASSWORD
. These will be used as environment variables by the deployment script.DNS name
is where you access the Nextcloud Web Interface to establish your administrative credentials.Note
The automatic deployment will be triggered if there are changes made on the
main.go
,.gitlab-ci.yml
, or theci.yml
file upon doing agit push
.On
main.go
, you can adjust the specifications of the resources to be manifested. Notable ones are in lines 327, 328, 571, 572, 602, 603, 640.Deployment Option 2 (Manual)
Deprovisioning
Local Testing
The
Pulumi.aws-go-dev.yaml
file contains a code block to use with Localstack for local testing.Features
Diagramme
Beta Was this translation helpful? Give feedback.
All reactions