Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.13 KB

File metadata and controls

44 lines (34 loc) · 1.13 KB

serverless

  1. Prerequisites for building and deploying your application locally.

    • aws cli
    • jdk 1.8
    • mav installed
  2. Build and Deploy instructions for web application.

    • circleCI
    • aws Cloudformation
    • aws CodeDeploy
  3. Set up SSL Certificate for prod.mengchen-gao.me

    1. generaet private key 
    openssl genrsa 2048 > private-key.pem
    
    2. get CRS
    openssl req -new -key private-key.pem -out csr.pem
    
    3. get Certificate on Namecheap
    4. import to ACM
    
    aws acm import-certificate --certificate file://Ce***te.pem
                             --certificate-chain file://Cer***Chain.pem
                             --private-key file://Pr***Key.pem
                             --profile p***
    
    
    -------------------------------
    other: 
    1. set IAM for certificate
    aws iam upload-server-certificate \
      --server-certificate-name ch***ame \
      --certificate-body file://pr***e.pem \
      --private-key file://private-key.pem \
      --profile p***
    
    2. check 
    aws iam get-server-certificate \
    --server-certificate-name ch***me \
    --profile p***