Difference between revisions of "AWS - EC2"

From belajarwiki
Jump to navigation Jump to search
Line 2: Line 2:
 
# Matikan EC2
 
# Matikan EC2
 
# Pilih Actions > Instance settings > Change instance type
 
# Pilih Actions > Instance settings > Change instance type
 +
 +
===Ganti pem===
 +
Buat pasangan kunci
 +
ssh-keygen -b 4096 -f server-dev
 +
 +
Akan membuat 2 file yaitu '''server-dev''' dan '''server-dev.pub'''.
 +
Copy kan isi dari server-dev.pub ke dalam '''~/.ssh/authorized_key'''.
 +
Ganti nama server-dev menjadi '''server-dev.pem'''.
  
 
===Pranala Menarik===
 
===Pranala Menarik===
Line 8: Line 16:
 
===Referensi===
 
===Referensi===
 
* https://www.howtogeek.com/devops/how-to-upgrade-or-resize-a-running-ec2-instance/
 
* https://www.howtogeek.com/devops/how-to-upgrade-or-resize-a-running-ec2-instance/
 +
* https://www.youtube.com/watch?v=Z3uiqtLXaM8

Revision as of 13:47, 4 November 2022

Upgrade EC2

  1. Matikan EC2
  2. Pilih Actions > Instance settings > Change instance type

Ganti pem

Buat pasangan kunci

ssh-keygen -b 4096 -f server-dev

Akan membuat 2 file yaitu server-dev dan server-dev.pub. Copy kan isi dari server-dev.pub ke dalam ~/.ssh/authorized_key. Ganti nama server-dev menjadi server-dev.pem.

Pranala Menarik

Referensi