wgu-opensource / osmt

OSMT is the Open Skills Management Tool
https://osmt.io
Other
43 stars 8 forks source link

Create AWS Quickstart-style reference template #59

Open drey-bigney opened 2 years ago

drey-bigney commented 2 years ago

As a user of the OSMT tool I want to create an AWS Quickstart-style reference implementation that can be used to quickly provision an OSMT environment.

Referencing aws.amazon.com/quickstart:

"Quick Starts are automated reference deployments [that] help you deploy popular technologies on AWS according to AWS best practices. You can reduce hundreds of manual procedures to just a few steps so that you can build and start using your environment within minutes."

Can we provide similar production-quality reference implementations?

brianmbennett commented 2 years ago

This would be a great addition. Has any progress been make toward this initiative at this time?

Thank you, -Brian

drey-bigney commented 2 years ago

Hi Brian,

We've discussed the need for this feature and will begin implementation efforts in the very near future. Would love your input as we move forward!

-Drey

brianmbennett commented 2 years ago

Good morning Drey and thank you for the quick response. Unfortunately our organization does not have the skill sets related to the underlying technologies of OSMT. We leverage AWS heavily and would need a better understanding of how you would install this within a single AWS instance. Perhaps we would also want to leverage RDS for the MySQL database.

We would want to know:

Feel free to reach me at bbennett@zencos.com if you want to take offline.

Thank you in advance for any other support you can provide. -Brian

jotepen commented 2 years ago

Brian,

I am close to trying to set up an OSMT docker environment (will probably use EKS) that connects to RDS/MySQL. Once I get it working, I would be happy to share my build notes with you. My current setup uses an EC2 instance with docker installed on it, then I just ran the OSMT quickstart deployment to test it out. Again, happy to help with any questions on what I have done so far.

Josh

brianmbennett commented 2 years ago

Thank you Josh! That would be extremely helpful.

A couple questions:

Thank you again, -Brian

jotepen commented 2 years ago

Brian,

I am using an EC2 instance size of t2.xlarge, I think you can get away with a smaller instance for testing if you want. The aim name that I am using for my image is - amzn2-ami-kernel-5.10-hvm-2.0.20211201.0-x86_64-gp2. The docker version I installed is 20.10.7, which was the most recent at the time.

I followed these instructions to install docker and docker-compose on the EC2 instance - https://gist.github.com/npearce/6f3c7826c7499587f00957fee62f8ee9

Do you use OKTA for your OAuth?

Josh

JohnKallies commented 2 years ago

@brianmbennett

How can I add a colleague of mine to also have access to this private github repo?

I can take that one...

WGU will open the repo to the public on January 31 (I'm finally allowed to say that in the open). This will allow contributors to do all the normal GitHub things (PRs, branches).

Anyone who wants access before that needs to send an email to opensource@wgu.edu, with the requested names/emails/GitHub IDs.

brianmbennett commented 2 years ago

@JohnKallies Thank you John. A couple of my folks will be requesting soon.

@jotepen Josh, we do not use OKTA. We are aiming to eventually leverage OSMT within/along side an existing AWS hosted Django app that currently leverages TokenAuthenication . We could change that authentication mechanism to leverage Django-rest-framework-social-oauth2 . If OAuth is required for OSMT then we would ideally like to leverage an AWS OAuth2 provider if one exists. We have never setup an OAuth2 provider and would need advise on selecting and establishing one. Also ideal would be to have our application and OAuth provider be the same.

Thank you, -Brian