Create Development Environment using AMI - edselg/pasoe-sample-app GitHub Wiki

Create EC2 instance from AMI

  1. Access the AWS EC2 Dashboard at https://console.aws.amazon.com/ec2/.
  2. Switch to Amazon Machine Images (AMIs).
  3. Click the OpenEdge Development AMI and click on Launch instance from image.
  4. Choose t3a.medium as the machine type.
  5. Continue through the wizard and specify a security group with ports 22 (SSH), 8080, and 8811 open.
  6. Launch instance.
  7. Click on the link for the new EC2 instance and copy the Public IPv4 address to the clipboard.
  8. Using SSH from the command line on your local machine connect to the EC2 instance: SSH -i <KeyPair.pem> ec2-user@

Create AWS Cloud9 for Development

  1. Access the AWS Cloud9 console at https://console.aws.amazon.com/cloud9/home/.
  2. Click Create environment.
  3. Enter a name (example: OEDevelopment).
  4. Choose Create and run in remote server (SSH connection)
  5. Enter User: ec2-user
  6. Enter Host: of the new EC2 instance
  7. Expand Advance settings
  8. Enter Environment path: ~/environment
  9. Click on Copy key to clipboard (from View public SSH key)
  10. Add SSH key to ~/.ssh/authorized_keys
  11. Click Next step.
  12. Click Create environment.

Steps

  1. Drag and drop progress.cfg to the ~/environment folder.
  2. Open a New Terminal using Window --> New Terminal. (The working directory will be ~/environment)
  3. Clone Git repo https://github.com/edselg/pasoe-sample-app.git
  4. RUN ~/environment/pasoe-sample-app/scripts/setup.sh
  5. Preview ~/environment/pasoe-sample-app/web.html after the PAS server starts.