Skip to content

Andersonfrfilho/AWS-Config-s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

AWS-Config-s

Server for Aplication

EC2 - Service Aws Eletronic computer two

create VM

  1. Open tab instances
    • Launch instance
    • Choice S.O
    • Choice Hardware
    • Choice details configurations
    • Add storage
    • Add Tags
    • Configure Security group
    • Review
    • download key
  1. Access Connect Linux with ssh (in tab instances choice VM select connect) use powershell in Windows.
    • got to file where in file .pem
    • propertys/securtity->advanced
      • select users and remove, or Disable inhertance
      • add ComputerName\UserName
        • computarName show (myComputer->property)
        • UserName access c:\Users\nameUser
      • select fullControl and ok
      • click applied/ok
    • ssh -i "ubuntuServer.pem" ubuntu@ec2-100-26-174-190.compute-1.amazonaws.com
    • install nvm 2.1. install nvm * use command in terminal curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash * definindo environment variable linux export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm * install version node in nvm, case using specific version change lts for number version nvm install --lts * use version instaled nvm use --lts * show versions nvm list
  1. ftp connect EC2 (Windows)

    • use puttyGen
    • click load select key_Of_AWS_EC2.pem
    • save private key file.ppk
    • download fileZilla
    • open fileZilla/edit/config/SFTP
    • Adicionar file key/addFile.key
    • in input Host sftp://ec2-100-26-174-190.compute-1.amazonaws.com
    • name user Nome de usuário: ubuntu
    • connect.

Referencias

https://medium.com/@balramchavan/deploy-angular-application-in-nginx-server-on-digitalocean-ubuntu-droplet-28380524811e https://medium.com/@timmykko/deploying-create-react-app-with-nginx-and-ubuntu-e6fe83c5e9e7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published