-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS EC2 India Prep and Hand Off #208
Comments
Initial investigation: There's the part of this task that's getting Drupal to run on the site, and there's the part of this task that's creating a deployment plan. We'll absolutely need regular backups on AWS, and the ability to roll back deploys in case of emergency. Quick ability to pull the database from the live AWS instance to the live Pantheon instance also ideal. HTTPS will need to be added. We'll also need to set up drush access and figure out solr. A nice workflow would be: |
Our rep at Pantheon confirmed they don't have servers in India, but mentioned the AGCDN: |
Hmm, I think that's the opposite of what we want. Aw well, it was worth a shot. |
I've spent a little time today continuing to investigate, and have a good shape for the work: The short version is: Get started with Drupal on AWS using Lightsail provided by the Bitnami container. Once the WRI India site is up on that instance and functioning for a handful of testers, we can get started with the finer-tuning that will be needed for go-live (caching and memory, backups). I'll document the deployment process in this repo's wiki. Since it's hard to estimate how long it will take to get things fully working, I'd like to approach this work from this direction. First: Set aside a set of hours to go down the list in that Google doc and just see how far we get. I'd like to say 8 hours to start, then pause and estimate out remaining tasks. |
Internal blocker: WRI India is consulting with legal team...is the requirement relating to privacy or PCI compliance, data retention, other? |
Some answers from the India team on legal requirements for data/servers: The server location should be one in India – you would recall we had discussed the possibility of AWS, Bengaluru during our meeting with you during our call with you sometime back. The technical architecture/design specs can be set by you in any way that you consider appropriate; we would appreciate some prior consultation with our digital team to understand the requirements and concerns, if any, at this end. |
Ideal: Pantheon for config, live site running off RDS server, Circle CI handles automation of export of config file from Pantheon to RDS
[also some degree of IO contracting happening off line - not more budget] |
Latest update with India requirements: at this point we should just work towards the full EC2 solution. We can use Pantheon through Test, then deploy from there to an AWS EC2. It looks like the India team will have their own agency handle the AWS EC2. We'll get credentials from them. |
I've got the initial specs written up in this document and those haven't changed: The method of spinning up the server was just what I had initially thought of, using bitnami, but I don't have strong opinions on how the server is built so long as it has the required items outlined under "What we need at launch" |
Christian to share doc with India team for review. What ThinkShout needs is the ability to push our code up to their server. They want a versioning system on their server (something where they symlink to a new folder every time they deploy -- so they can rollback releases if needed). Having access to the database would be ideal. Goals: Satisfy legal requirement, perception (if you check IP on server you still shouldn't see a non-India based server) |
India IO working on RFP to hire vendor, once vendor is hired, we share resources:
|
update: India's RFP is ready, we'll be helping review proposals from them |
Let's stand up the dev environment on AWS and migrate the Pantheon site over. Use the WIR AWS account, set the server region as India.
AWS EC2 I assume is the best option. This will be the dev environment, so specs can be low. The India vendor will be responsible to the production environment. Spin up next week after Christian gets some more information about India's AWS account |
New legal requirement: India needs to launch live on AWS servers in India
Assuming: we need dev/test/prod environments? Maybe we can skip?
Or keep Pantheon for dev and test…deploy to live via AWS would be nice (change would be at final stage in deployment: test (Pantheon) to live (AWS EC2)
Solr would also add wrinkles
Would also make having a CDN for performance more difficult
If India won't have a huge number of posts, this could be OK for a time? (We may need to go for MVP version of launch and then find out what to add)
thinkShout has AWS account credentials -- for launch -- anything else needed?
investigate: if we try to use Pantheon's infrastructure, we can pay for a real site (and have a backup)
Timing
The text was updated successfully, but these errors were encountered: