Skip to content
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

Automate hub deployments on AWS #647

Closed
5 tasks done
choldgraf opened this issue Aug 31, 2021 · 8 comments
Closed
5 tasks done

Automate hub deployments on AWS #647

choldgraf opened this issue Aug 31, 2021 · 8 comments
Assignees
Labels
Enhancement An improvement to something or creating something new.

Comments

@choldgraf
Copy link
Member

choldgraf commented Aug 31, 2021

Description

Once we have a cluster running, we need to automate hub deployments on AWS. We also need to configure our already-running hubs to follow this process.

Value / benefit

This will let us automatically add new AWS hubs, and will standardize our infrastructure deployments in general. As AWS is a very popular cloud provider, this is an important step to make us more confident in adding new hubs.

Implementation details

This might be done most easily by automating the deployment of our specific AWS hubs, and then documenting / generalizing how to do it for a generic hub.

Completion criteria

Given an AWS cluster that already exists, we can deploy a new hub (or upgrade an existing hub) on that cluster via editing YAML in our pilot-hubs/ repository.

Tasks to complete

Updates

@choldgraf choldgraf added Enhancement An improvement to something or creating something new. prio: high labels Aug 31, 2021
@damianavila
Copy link
Contributor

The second step depends on #381

@damianavila
Copy link
Contributor

Researched a little bit on farallon and openscapes existing user and groups...
In farallon, we would need to create a new deployer user under the 2i2c-engineers group
In openscapes, we could use the existing 2i2cAdministrator as the deployer user.
I think that is OK because it will showcase how to set up the CI stuff in environments with different granularity on users and groups. In the future, we might consolidate things in a "preferred" pattern.

@damianavila
Copy link
Contributor

The deployer user created in the Farallon space, more details in #381 (comment)
There is also a PR linked in that issue that, hopefully, will close it.

@damianavila
Copy link
Contributor

#691 now deals with openscapes (among other things).

@damianavila
Copy link
Contributor

damianavila commented Sep 23, 2021

Re-opened because it was automatically closed and there is still stuff to do here...

@choldgraf
Copy link
Member Author

@damianavila the only thing remaining here is to document our current setup, is that right? If that's the case, are you OK with just creating a new issue for the documentation specifically, tracking it here, and removing this issue from the deliverables backlog?

@damianavila
Copy link
Contributor

@damianavila the only thing remaining here is to document our current setup, is that right?

Correct!

If that's the case, are you OK with just creating a new issue for the documentation specifically, tracking it here,

The issue already exists and it is linked in the first message of the thread.

and removing this issue from the deliverables backlog?

Sure, I have removed it from the deliverables backlog.

@damianavila
Copy link
Contributor

General documentation was merged on #717.
Upgrading existing AWS hubs by CI/CD is currently available.
Deploying the hub for the first time is not fully automated, although it is a semi-automatic process outlined at https://infrastructure.2i2c.org/en/latest/howto/operate/new-hub/aws.html#add-a-hub-to-an-aws-kops-based-cluster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An improvement to something or creating something new.
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants