LogoLogo
JHU-IDDCOVID-19 Scenario Modeling hubCOVID-19 Forecast Hub
  • Home
  • 🦠gempyor: modeling infectious disease dynamics
    • Modeling infectious disease dynamics
    • Model Implementation
      • flepiMoP's configuration file
      • Specifying population structure
      • Specifying compartmental model
      • Specifying initial conditions
      • Specifying seeding
      • Specifying observational model
      • Distributions
      • Specifying time-varying parameter modifications
      • Other configuration options
      • Code structure
    • Model Output
  • 📈Model Inference
    • Inference Description
    • Inference Implementation
      • Specifying data source and fitted variables
      • (OLD) Configuration options
      • (OLD) Configuration setup
      • Code structure
    • Inference Model Output
    • Inference with EMCEE
  • 🖥️More
    • Setting up the model and post-processing
      • Config writer
      • Diagnostic plotting scripts
      • Create a post-processing script
      • Reporting
    • Advanced
      • File descriptions
      • Numerical methods
      • Additional parameter options
      • Swapping model modules
      • Using plug-ins 🧩[experimental]
  • 🛠️How To Run
    • Before any run
    • Quick Start Guide
    • Multiple Configuration Files
    • Synchronizing Files
    • Advanced run guides
      • Running with Docker locally 🛳
      • Running locally in a conda environment 🐍
      • Running on AWS 🌳
      • Running On A HPC With Slurm
    • Common errors
    • Useful commands
    • Tips, tricks, FAQ
  • 🗜️Development
    • Git and GitHub Usage
    • Guidelines for contributors
  • Deprecated pages
    • Module specification
  • JHU Internal
    • US specific How to Run
      • Running with Docker locally (outdated/US specific) 🛳
      • Running on Rockfish/MARCC - JHU 🪨🐠
      • Running with docker on AWS - OLD probably outdated
        • Provisioning AWS EC2 instance
        • AWS Submission Instructions: Influenza
        • AWS Submission Instructions: COVID-19
      • Running with RStudio Server on AWS EC2
    • Inference scratch
Powered by GitBook
On this page
  • Signing in to AWS Management Consol ;
  • EC2 Dashboard
  • Launch an instance
Edit on GitHub
Export as PDF
  1. JHU Internal
  2. US specific How to Run
  3. Running with docker on AWS - OLD probably outdated

Provisioning AWS EC2 instance

PreviousRunning with docker on AWS - OLD probably outdatedNextAWS Submission Instructions: Influenza

Last updated 7 months ago

This page, along with the other AWS run guides, are not deprecated in case we need to run flepiMoP on AWS again in the future, but also are not maintained as other platforms (such as longleaf and rockfish) are preferred for running production jobs.

Signing in to AWS Management Consol ;

Click on below:

Sign in as IAM user with your given Accound ID, username and Password

Then the next view appears, check "regeon" as "Oregon" by default and "user@Accond ID" as you expeced.

If you have already accessed AWS console, these kinds of view can be seen. In the case select "EC2" to go to "EC2 Dashboard"(if not, skip it).

EC2 Dashboard

In this EC2 Dashboard, we can maintain the EC2 boxes from creation to deletion. In this section, how to create an EC2 instance from the AMI image which has already been registered is shown.

Select "Images>AMIs" in the right pane(Navigation pain) ;

Select an AMI name which name is "IDD Staging AMI" in the "Amazon Machine Images (AMIs)" by clicking the responding AMI checkbox on the left, then push the "Launch instance from AMI" button (colored in orange).

Launch an instance

To create an EC2 instance, fill out the items as below (example):

  • Name and tags

    • input an appropriate name (e.g., "sample_box01")

  • Application and OS image

    • check whether "AMI from catalog" is _"IDD Staging AMI" (for example; select one as you want) ;

  • Instance type

    • as you selected by drop-down list(e.g., m5.xlarge)

  • Key pair(login ;

    • you can generate new key pair if you want to connect to the instance securely (by clicking "Create new key pair" on the right side), but usually select "ams__ks_ED25519__keypair" by drop-down list so that you can be helped when local client setup (recommended).

      • In case that you use your own key, you will be the only person to log in, of course. you should be careful of handling key management ;

  • Network settings (push the button "Edit" on the right to extend configuration; see below)

    • VPC - required

      • select "HPC VPC" item by drop-down menu

    • Subnet

      • select "HPC Public Subnet among _"us-west-2*" ;

    • Firewall (security groups)

      • select "Select existing security grous" toggle, then

      • Common security groups

        • select "dvc_usa" and "dvc__usa2" by drop-down menu

  • Advanced details

    • "EC2S3FullAccess" should be setected in IAM instance profile, but to do it an authentication (IAM role or policy) must be set on to the working IAM account

then push "Launch Instance" button which is located at the bottom right side of the scree ;

Sign in as IAM user
Console Home
EC2 Dashboard
Select an AMI Image among Amazon Machine Images(AMIs)
Network settings
Advanced details
Launch Instance in Summary
When in Success
AWS Management ConsoleAmazon Web Services, Inc.
Logo