Skip to content

Developer Scratchpad

Asher Densmore-Lynn edited this page Oct 31, 2017 · 14 revisions
AWS Appliance notes:

Current appliance ami-3f1cb045 (posted 2017-10-30 2017 CDT)
Do all testing in us-east-1 (N. Virginia)

Create:

Generate Ubuntu 16.04 instance
login: ubuntu
run Lightsail install sequence (launch.sh -s 0)
utilities/ami-lock.sh
clear authorized keys from users ubuntu *and root*
shutdown
export AMI
force image public

Test:

EC2 *in us-east-1, N. Virginia*
Launch Instance
Community AMIs
Public images: <enter AMI here>
Smallest recommended instance size: t2.small
(normal EC2 launch sequence follows, don't forget security group: ssh, http, https)
wait 3 minutes (just because OpenEMR is up doesn't mean rekey is finished)
hit OpenEMR:80, login with 'admin'/<instance ID 'i-' + hexstring>
verify access to containers per doc
verify backup process functions
verify recovery process functions

Debug:

In EC2 or Lightsail, create a *new* SSH key, one you *won't* mind giving away to a developer so we can get into your instance and try to reproduce issues.
We'll want a copy of /tmp/launch.sh .
If you encounter an issue, remember you can stop the instance or snapshot it until a developer can look at it.

Clone this wiki locally