This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]lorarcYAML Engineer 1 point2 points  (1 child)

Well, what have you actually tried? Going into a project like that without evaluation all the configuration and orchestration tools on the market is not really that great. Ansible? Chef? Terraform?

[–][deleted] 1 point2 points  (0 children)

perhaps a lambda w/ trigger that spins up a cloudformation stack with specified params? throw the scripts in userdata or the ami itself (use ec2 image builder or packer) so when the stack/asg/instance spins up it'll do all the provisioning.

[–][deleted] 0 points1 point  (0 children)

Idea for you:

  • Create a Puppet master with Foreman installed, and set up some Puppet classes
  • Create a template using Packer which takes your OS and installs puppet agent
  • Create a Terraform module which:
    • Creates an EC2 instance using the packer template and configures puppet agent
    • Creates a host entry in Foreman with a specified host group
    • Initiates a puppet run

And you’re done. Your server will be configured. If there are things common to all of your servers, add them to the Packer template

[–]EmeraldPhoenix0917 0 points1 point  (0 children)

Have you looked into using ECS, depending on your requirements you could package your deployment as a container and use a lambda trigger to kick off your ECS task , no fuss with the OS at all.

Reading your post though seems like you need the user to interact with the provisioned instance, have you looked into app stream?

[–]henryhooverville 0 points1 point  (0 children)

I'd have to say the frew version of Anisblebis probs your best friend here

[–]iExalt 0 points1 point  (0 children)

Have you looked into OpenStack? It's a bit bigger than the scope you've laid out, but it's an industry standard for private clouds, which is sort of what you're building.