2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00
Commit graph

18 commits

Author SHA1 Message Date
Chris Marusich ba5026796c
cdn: Update README.org.
* cdn/README.org: Explain how to check the bill using the AWS CLI.
2019-01-11 23:08:55 -08:00
Chris Marusich a3166ddcf8
cdn: Change default behavior to not cache.
* cdn/terraform/cloudfront.tf (locals) <do_not_cache_behavior>: New
variable.
(berlin-mirror) <default_cache_behavior>: Use the new
do_not_cache_behavior.
(origin) <empty-origin>: Remove it.
* cdn/README.org: Remove the section explaining that Cuirass will no
longer be accessible via ci.guix.info.
2019-01-11 23:08:52 -08:00
Chris Marusich 0adacfcf43
cdn: Update the deployment plan in README.org.
* cdn/README.org (Deployment Plan): Update it.
2019-01-08 01:49:27 -08:00
Chris Marusich ce210ea35d
cdn: Update the README.org.
* cdn/README.org: Update many parts of it.
2019-01-04 23:42:48 -08:00
Chris Marusich 03121abf87
cdn: Update README.org.
* cdn/README.org: Add an overview and clean up some sections.
2019-01-04 01:13:35 -08:00
Chris Marusich 2a6a274122
cdn: Remove a stale comment from README.org
* cdn/README.org (Next steps): Remove a stale comment.
2018-12-29 19:47:26 -08:00
Chris Marusich 5e0890def9
cdn: Remove "set up locking" from README.org.
* cdn/README.org (Next steps): Remove "set up locking" because we've
set it up.
2018-12-29 19:31:44 -08:00
Chris Marusich 017e25ef71
cdn: Add another Terraform benefit to README.org.
* cdn/README.org (Avoiding "Service as a Software Substitute"):
Mention that Terraform also helps to avoid vendor lock-in.
2018-12-29 19:21:31 -08:00
Chris Marusich 5b68c2fc3f
cdn: Add an example command to the README.org.
* cdn/README.org (Process) <General>: Add an example command.
2018-12-28 23:04:05 -08:00
Chris Marusich a84019c594
cdn: Add billing alarms.
* cdn/README.org: Mention that Terraform does not support email
subscriptions to SNS topics.
* cdn/terraform/main.tf (guix-billing-alarms): New SNS topic.
(alarm-estimated-charges-150-usd, alarm-estimated-charges-140-usd)
(alarm-estimated-charges-100-usd): New alarms.
2018-12-28 23:04:05 -08:00
Chris Marusich 5a8cf18447
cdn: Provision a TLS certificate for ci.guix.info.
* cdn/README.org: Mention that certificate validation requires manual
action outside of Terraform.
* cdn/terraform/main.tf (berlin-mirror-certificate): New certificate.
(berlin-mirror): Use it with SNI in the CloudFront distribution.
2018-12-28 23:04:04 -08:00
Chris Marusich a130bda64c
cdn: Switch default region to us-east-1.
Before doing this, I destroyed all Terraform-managed AWS resources and
locally stored Terraform state, so we can rebuild it fresh.

* cdn/README.org: Update us-west-2 references to us-east-1.
* cdn/terraform/main.tf (terraform, guix-terraform-state): Likewise.
2018-12-28 23:04:04 -08:00
Chris Marusich b4eee7c69b
cdn: Add a basic deployment plan to the README.org
* cdn/README.org: Discuss the deployment plan.
2018-12-28 23:04:04 -08:00
Chris Marusich 01189233b6
cdn: Use Terraform's S3 backend.
* cdn/terraform/main.tf (terraform): New object, with an s3 backend.
* cdn/README.org: Update accordingly.
2018-12-28 23:04:04 -08:00
Chris Marusich 03cff9ec02
cdn: Add an S3 bucket to hold Terraform state.
* cdn/terraform/main.tf (guix-terraform-state): New bucket.
* cdn/README.org: Add more documentation.
2018-12-28 23:04:04 -08:00
Chris Marusich d3600c75b9
cdn: Add a CloudFront distribution fronting berlin.
This is not the final version, but it gives us a good starting point.

* cdn/terraform/main.tf (berlin-mirror): New resource.
(berlin-mirror-id, berlin-mirror-status, berlin-mirror-domain-name):
New outputs.
* cdn/README.org: Update accordingly.
2018-12-28 23:04:03 -08:00
Chris Marusich 7680ddf06c
cdn: Add thoughts about next steps to README.
* cdn/README.org (Next steps): New section.
2018-12-28 23:04:03 -08:00
Chris Marusich 176631a416
cdn: Initial commit of Terraform configuration.
* .gitignore (/cdn/terraform/terraform.tfstate)
(/cdn/terraform/terraform.tfstate.backup, /cdn/terraform/.terraform):
New ignore patterns.
* cdn/README.org: New file.
* cdn/terraform/main.tf: New file.
* cdn/terraform/variables.tf: New file.
2018-12-28 23:04:03 -08:00