Commit Graph

214 Commits

Author SHA1 Message Date
Johannes Zellner
65994f307f Make infra_version.js option and fix base image on DO 2016-08-10 12:45:23 +02:00
Johannes Zellner
ce28449734 Remove authorized_keys file after setup is done 2016-07-29 18:43:36 +02:00
Johannes Zellner
3f5d974c0c Minor echo to ec2 image building 2016-07-04 14:04:41 +02:00
Johannes Zellner
f06c218bd1 Give the base image creation instance a name 2016-06-30 16:00:53 +02:00
Johannes Zellner
da836d6bbe ami region, image separator is a = 2016-06-30 14:39:30 +02:00
Johannes Zellner
894d63554b Ensure all amis are public and available 2016-06-30 14:25:05 +02:00
Johannes Zellner
568593db93 Use t2.small for EC2 image creation 2016-06-30 11:15:51 +02:00
Girish Ramakrishnan
e64a85150a use ams2 since ams3 is over capacity 2016-06-28 17:20:42 -05:00
Johannes Zellner
ed5ebcbd5c Copy our AMIs to all EC2 regions 2016-06-28 12:54:59 +02:00
Johannes Zellner
ab9745e859 Enable root ssh access on ec2 2016-06-22 14:27:42 +02:00
Johannes Zellner
ff4b1fa346 Rename createImage -> createDOImage 2016-06-22 14:07:32 +02:00
Johannes Zellner
02fcee5d98 Remove unused vars in image creation scripts 2016-06-22 14:06:58 +02:00
Johannes Zellner
3416723129 Fix typo 2016-06-22 10:21:56 +02:00
Johannes Zellner
6477c7b47d Add comment in createEC2Image 2016-06-22 10:21:56 +02:00
Johannes Zellner
99ea4c8c30 Make amis public and available in the regions 2016-06-22 10:21:56 +02:00
Johannes Zellner
c691b75344 Make ami public (still commented) 2016-06-22 10:21:56 +02:00
Johannes Zellner
c6c36a4f3c Also make box-setup.service depend on cloud-init for ec2 2016-06-22 10:21:56 +02:00
Johannes Zellner
2a3640032f Remove obsolete SELFHOSTED env 2016-06-22 10:21:56 +02:00
Johannes Zellner
f0e8915825 Do not copy amis to other regions for now 2016-06-22 10:21:56 +02:00
Johannes Zellner
abb3d5f0ef Copy the new image to oregon and singapore for now 2016-06-22 10:21:56 +02:00
Johannes Zellner
255d4ea088 Also terminate the instance after image creation 2016-06-22 10:21:56 +02:00
Johannes Zellner
3ac7992686 Wait for instance to come up 2016-06-22 10:21:56 +02:00
Johannes Zellner
822e886347 Take ec2 image snapshot 2016-06-22 10:21:56 +02:00
Johannes Zellner
7b5184f181 Initial script for creating ec2 base images 2016-06-22 10:21:56 +02:00
Girish Ramakrishnan
43c69d4dc6 we have exceeded 100 images 2016-06-18 12:12:11 -05:00
Girish Ramakrishnan
5ba1dd39e7 add missing return 2016-06-18 12:10:30 -05:00
Girish Ramakrishnan
d51d2e5131 start addons and apps in the cloudron network
also remove getLinkSync, since we don't use linking anymore
2016-06-17 09:18:10 -05:00
Johannes Zellner
984a191e4c Use the variable correctly 2016-06-09 14:24:53 +02:00
Girish Ramakrishnan
aff9ff47bc use infra_version.js in baseimage script 2016-05-24 13:23:38 -07:00
Girish Ramakrishnan
32e238818a make script more robust 2016-05-17 18:16:18 -07:00
Girish Ramakrishnan
2c1083d58b log error if the curl parsing fails 2016-05-17 17:15:10 -07:00
Girish Ramakrishnan
83a252bd20 there is only mail container now 2016-05-15 21:15:53 -07:00
Girish Ramakrishnan
560f460a32 rename to sendmail 2016-05-13 20:48:31 -07:00
Girish Ramakrishnan
5322ed054d reserve 4190 for sieve 2016-05-13 18:48:05 -07:00
Girish Ramakrishnan
ae3e0177bb make script more robust 2016-05-12 18:16:26 -07:00
Girish Ramakrishnan
646ba096c3 start recvmail addon in setup_infra 2016-05-11 08:55:51 -07:00
Girish Ramakrishnan
5afff5eecc open 25 (inbound smtp) and 587 (inbound submission) 2016-05-11 08:48:50 -07:00
Girish Ramakrishnan
84206738e1 open port 993 (imap) 2016-05-11 08:47:59 -07:00
Girish Ramakrishnan
496e1c3dc1 fix path to INFRA_VERSION 2016-05-05 18:37:17 -07:00
Girish Ramakrishnan
8837cc5a3c update nginx version 2016-04-29 19:38:06 -07:00
Girish Ramakrishnan
f2545e3def bump systemd to 229 2016-04-29 19:18:31 -07:00
Girish Ramakrishnan
7a72bf3f78 select mysql 5.7 2016-04-29 19:12:20 -07:00
Girish Ramakrishnan
87351f04ef use 16.04
among other things this will bump the mysql version bringing us
json type
2016-04-29 19:11:00 -07:00
Girish Ramakrishnan
cfb56d7eee install aws-cli tool (for backups) 2016-04-08 23:58:07 -07:00
Girish Ramakrishnan
f44c2707f0 install swaks in base image 2016-04-04 09:50:19 -07:00
girish@cloudron.io
61a52d8888 dist-upgrade to update more aggressively 2016-03-09 09:29:07 -08:00
Girish Ramakrishnan
83d05c99d3 mount manually instead of fstab because of race
I cannot figure how to make the box-setup.service run before the mounting
of a specific mount point. adding a dep on mount.target locks up the system.
2016-03-07 10:48:09 -08:00
Girish Ramakrishnan
b0acdfb908 use truncate instead of fallocate 2016-03-07 10:44:35 -08:00
Girish Ramakrishnan
b062dab65c mysql also uses the data partition 2016-03-07 10:38:59 -08:00
girish@cloudron.io
744c721000 use docker 1.10.2 (untested) 2016-03-01 10:13:44 -08:00