Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Automate provisioning of CCO management server #188

Closed
3 tasks
adborden opened this issue Nov 12, 2019 · 8 comments
Closed
3 tasks

Automate provisioning of CCO management server #188

adborden opened this issue Nov 12, 2019 · 8 comments
Assignees

Comments

@adborden
Copy link
Contributor

User Story

As an operator, I want the management server to be provisioned automatically through terraform so that I can deploy and manage CCO with all the benefits of infrastructure-as-code and release engineering principles, including Identifiability, Reproducibility, Consistency, and Agility.

Details / tasks

CCO documents the initial setup of the management server which is necessary for CCO. These instructions should be captured as terraform templates so they are incorporated into our existing CI/CD pipeline.

Acceptance Criteria

  • Management server is deployed automatically through our automated CI/CD process.
  • A pre-built AMI is used, so that deployment of new versions of the Management server can be deployed in an immutable fashion.
  • State is persisted via EBS or similar so that the instance can be destroyed and re-created without losing state.
@pwalsh
Copy link

pwalsh commented Nov 18, 2019

This is similar to the existing issue I have on the CCO tracker: datopian/ckan-cloud-operator#69

I will investigate the additional step of AMI creation.

Related, automating is partly covered by datopian/ckan-cloud-operator#68

@adborden
Copy link
Contributor Author

I think the distinction between this and datopian/ckan-cloud-operator#69 is that this issue is specific to GSA, while the CCO issue is a broader and more generic solution.

For example, datopian/ckan-cloud-operator#69 could include work to create a reusable Terraform module, then this issue would create the Terraform templates and GSA-configuration to consume that module. I wanted to make sure the GSA-specific stuff was captured explicitly and separate from the CCO work because I think we haven't been great about that in the past.

@adborden
Copy link
Contributor Author

For datopian/ckan-cloud-operator#78, I'm not seeing anything specific to GSA. My suggestion was to scope it down, or add GSA specific tasks. However, I think this issue captures that work best for GSA.

@kimwdavidson kimwdavidson added this to the Data.gov Sprint 15 milestone Dec 19, 2019
@akariv
Copy link

akariv commented Jan 2, 2020

We now have an AMI containing terraform, cco and Jenkins.
It has all the required code to provision an EKS cluster & other required services using Terraform & CCO.
Everything is built and continuously tested in CI.

@akariv
Copy link

akariv commented Jan 2, 2020

Would be good to do a peer session with @adborden to provision a new cluster (to replace the current, unstable one).

@kimwdavidson
Copy link
Contributor

Adam completed documentation today. @estebanruseler to schedule a session for GSA to deploy themselves.

@kimwdavidson kimwdavidson assigned adborden and unassigned akariv Jan 23, 2020
@adborden
Copy link
Contributor Author

AC for deploying into the GSA environment isn't met, but we're going to call this done and move on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants