Skip to content

AWS

Certification

AWS Certified Cloud Practitioner

AWS Certified Cloud Practitioner badge.634f8a21af2e0e956ed8905a72366146ba22b74c

CLF-C01

https://aws.amazon.com/certification/certified-cloud-practitioner/

https://courses.datacumulus.com/downloads/certified-cloud-practitioner-zb2/

Download Slides

AWS Certified SysOps Administrator

AWS Certified SysOps Administrator Associate badge.c3586b02748654fb588633314dd66a1d6841893b

SOA-C02

https://aws.amazon.com/certification/certified-sysops-admin-associate/

https://courses.datacumulus.com/downloads/certified-sysops-administrator-dw1/

Download Slides

AWS Certified DevOps Engineer - Professional

AWS Certified DevOps Engineer Professional badge.7492bf660b5351e51f3f8015e4818924294a7e8c

DOP-C01

https://aws.amazon.com/certification/certified-devops-engineer-professional/

AWS Certified Security - Specialty

AWS Certified Security Specialty badge.75ad1e505c0241bdb321f4c4d9abc51c0109c54f

SCS-C01

https://aws.amazon.com/certification/certified-security-specialty/

General

Recover Lost SSH Key

https://github.com/miztiik/AWS-Demos/tree/master/How-To/setup-ssh-key-recovery-using-userdata

  1. Create a new instance with an SSH key
  2. SSH into the instance and copy the authorized_keys entry
  3. Stop the instance that you lost the key for
  4. Edit the user data of the instance:

aws

  1. Paste the below in the user data of the instance and start it:
Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0

--//
Content-Type: text/cloud-config; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="cloud-config.txt"

#cloud-config
cloud_final_modules:
- [scripts-user, always]

--//
Content-Type: text/x-shellscript; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="userdata.txt"
#!/bin/bash
/bin/echo -e "ssh-rsa AAUvoqDuvCKFrVzeq/O68JgAo0zSSD3KMYwO1RSZ8/2FwMEYZP7jAh3GOYJhIS
AzFsDcN/jgtluZIwEn7MXym21EDLk1aFdI20WtbQJH79as9+nV9jtzf9BiQnM/fe18Frb94A1DUALcEyPesl
oYvcOxyCCaqAKS6v1g1me4Up+IbHNfVgE+GtLdh+oohR8SRc3xL9tvQu0kzFSRVsfymhu5l2WBpf9STvm3rt
MbNKzjmKAqPlMSuShn72pTwqScGoPG+3ofZ36nLdh+oo" >> /home/ec2-user/.ssh/authorized_keys
--//
  1. Login to the server with the new key
  2. Remember to stop the recovery instance you created if not using it