cloud-gov / cg-manifests

DEPRECATED: Release Manifest for Cloud Foundry
https://github.com/18F/cg-provision
Other
11 stars 8 forks source link

consolidate deployment instructions #31

Open afeld opened 8 years ago

afeld commented 8 years ago

We seem to have instructions for a new Cloud Foundry deployment in a couple of places:

I'm not sure which of these is more up-to-date, but can we consolidate them and remove one or the other?

kastork commented 7 years ago

I haven't tried either one, however...

The first seems up to date and useful for experimentation. The second is, I think, obsolete because micro bosh is.

For those of us who do not yet have access to the cloud.gov infrastructure, I think it would be great if the cloud formation scripts and a howto for setting up a small scale production installation of CF were available. (assuming use of the gov cloud region).

I say small scale because the use-case I'm thinking of is to have just enough CF infrastructure in place to do real deployments with the intention of eventual migration to the cloud.gov service, when it becomes generally available.

afeld commented 7 years ago

https://github.com/18F/cg-provision/ is the new place with instructions... @linuxbozo Is this repository in use anymore?

LinuxBozo commented 7 years ago

@afeld We've been deprecating this repo over time, as it used to hold all the manifests in one place, which seems convenient, until you drop multiple environment configurations and CI/CD into the mix. You'll find these manifests now in a search for cg-deploy-*. The wiki here has been deprecated in favor of docs.cloud.gov

Looks like this repo can now be entirely deprecated since we split out the last remaining items, BOSH and the docker swarm broker, both of which have their own repos now.

Also, you are correct, we no longer are using Cloud Formation at all, as some of it was written after things were already hand built and was a bit troublesome, and we have entirely switched to using terraform, which you can get in cg-provision

@kastork Additionally, while it won't match entirely (especially with services offered), it is intended for small scale development only environments, so you may want to investigate PCF-dev

kastork commented 7 years ago

@LinuxBozo Thanks for these pointers.

I should clarify my proposed use case:

  1. Say I have some apps designed for CF deployment
  2. I don't yet have access to a cloud.gov CF account
  3. I DO have access to AWS gov region
  4. I want to deploy my apps (in production) but in a limited way (think pilot program) because long-term, I don't want to manage my own full-blown, large-scale CF environment. (When I can get cloud.gov, I'll migrate everything there and end the pilot program)

So the AWS infrastructure and CF deployment need to look and feel like a production ready (or nearly so) environment, not a local dev environment or a simplified tech demo on AWS. Naturally, the cloud.gov services do not need to be there, just a full-up CF that can be relied on during the pilot with real users.

This case is real for me as I've had a very difficult time getting any of the container orchestration tools working in gov cloud (I've tried Kubernetes, OpenShift Origin (3), Docker Swarm). All the how-to's and examples and 1-click deploys fail because they don't take into account the peculiarities of being in the gov region. (Odd ways to access S3, being in a non-standard partition, AMI's that aren't deployed to gov region, etc.)

That said, I need to mine these new resources you pointed out -- they might be enough to get me going in the right direction. Thanks again, this is an exciting project.