Skip to content

gaomc66/Serverless_AWS_Lambda_with_SQS_SNS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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***

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages