Create Development Environment using AMI - edselg/pasoe-sample-app GitHub Wiki
Create EC2 instance from AMI
- Access the AWS EC2 Dashboard at https://console.aws.amazon.com/ec2/.
- Switch to Amazon Machine Images (AMIs).
- Click the OpenEdge Development AMI and click on Launch instance from image.
- Choose t3a.medium as the machine type.
- Continue through the wizard and specify a security group with ports 22 (SSH), 8080, and 8811 open.
- Launch instance.
- Click on the link for the new EC2 instance and copy the Public IPv4 address to the clipboard.
- 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
- Access the AWS Cloud9 console at https://console.aws.amazon.com/cloud9/home/.
- Click Create environment.
- Enter a name (example: OEDevelopment).
- Choose Create and run in remote server (SSH connection)
- Enter User: ec2-user
- Enter Host: of the new EC2 instance
- Expand Advance settings
- Enter Environment path: ~/environment
- Click on Copy key to clipboard (from View public SSH key)
- Add SSH key to ~/.ssh/authorized_keys
- Click Next step.
- Click Create environment.
Steps
- Drag and drop progress.cfg to the ~/environment folder.
- Open a New Terminal using Window --> New Terminal. (The working directory will be ~/environment)
- Clone Git repo https://github.com/edselg/pasoe-sample-app.git
- RUN
~/environment/pasoe-sample-app/scripts/setup.sh
- Preview ~/environment/pasoe-sample-app/web.html after the PAS server starts.