summaryrefslogtreecommitdiff
path: root/cloudsettings.go
diff options
context:
space:
mode:
Diffstat (limited to 'cloudsettings.go')
-rw-r--r--cloudsettings.go12
1 files changed, 9 insertions, 3 deletions
diff --git a/cloudsettings.go b/cloudsettings.go
index 0cf1777..fa60238 100644
--- a/cloudsettings.go
+++ b/cloudsettings.go
@@ -7,7 +7,13 @@ package bookpipeline
// This file contains various cloud account specific stuff; change this if
// you want to use the cloud functionality on your own site.
-// Spot instance details
+// Spot instance details.
+// The profile needs to allow permissions to the below S3 buckets and
+// SQS queues, the Sg (security group) doesn't need any permissions,
+// beyond SSH if you like, and the image should have bookpipeline
+// installed and ideally auto-updating.
+// TODO: release ansible repository which creates AMI.
+// TODO: create profile and security group with mkpipeline
const (
spotProfile = "arn:aws:iam::557852942063:instance-profile/pipeliner"
spotImage = "ami-0bc6ef6900f6da5d3"
@@ -15,7 +21,7 @@ const (
spotSg = "sg-0be8a3ab89e7136b9"
)
-// Queue names
+// Queue names. Can be anything unique in SQS.
const (
queuePreProc = "rescribepreprocess"
queueWipeOnly = "rescribewipeonly"
@@ -23,7 +29,7 @@ const (
queueAnalyse = "rescribeanalyse"
)
-// Storage bucket names
+// Storage bucket names. Can be anything unique in S3.
const (
storageWip = "rescribeinprogress"
)