polis icon indicating copy to clipboard operation
polis copied to clipboard

Support deployment via AWS

Open patcon opened this issue 5 years ago • 3 comments

Re-ticketed from https://github.com/pol-is/polis-issues/issues/128

From 2020-04-03 notes:

  • david: would like to use AWS fargate infra to deploy all components. pulumi tool? helps build AWS stacks.

@crkrenn @david-nadaraia do you still hope to work on this?

patcon avatar Apr 30 '20 01:04 patcon

Fargate is still on my wish list, but I think I will be working with EC2 for the near term.


Q: Why is this email [hopefully] five sentences or less? A: http://five.sentenc.es

From: Patrick Connolly [email protected] Reply-To: pol-is/polisServer [email protected] Date: Saturday, May 9, 2020 at 7:53 PM To: pol-is/polisServer [email protected] Cc: Ckl [email protected], Mention [email protected] Subject: [pol-is/polisServer] Support deployment via AWS Fargate (#238)

Re-ticketed from https://github.com/pol-is/polis-issues/issues/128

From 2020-04-03 noteshttps://hackmd.io/1U58Q-KOSpeDUagCMCDwzQ?view:

@crkrennhttps://github.com/crkrenn @david-nadaraiahttps://github.com/david-nadaraia do you still hope to work on this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/pol-is/polisServer/issues/238, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABOJ5VZZCACRS4XQYJ6I3G3RQYJJLANCNFSM4M5BXM5Q.

crkrenn avatar May 23 '20 18:05 crkrenn

I've given up on pulumi. It is still a work in progress. A benefit was that they support multiple languages (typescript, python & go) and multiple cloud providers (Azure, Google, AWS, etc.). In practice, their examples were all for a single cloud provider and they API's were significantly different between typescript, python, and go.

I am switching to docker-compose and docker-machine right now. It also supports multiple cloud providers and fargate.

I've added some brief notes on using docker-machine and docker-compose to launch polis on an aws instance in the docs folder in the following pull request: https://github.com/pol-is/polisServer/pull/414.

Next

  1. Test docker-machine and docker-compose with fargate for a simple webserver container.
  2. Test docker-machine and docker-compose with fargate for polisServer.
  3. Work on https and route 53 for a named service.

crkrenn avatar Jul 12 '20 14:07 crkrenn

Related: New amazon plugin announced last week: https://www.docker.com/blog/from-docker-straight-to-aws/

patcon avatar Jul 13 '20 03:07 patcon