Saturday, July 18, 2020

How to Switch Between AWS CLI Named Profiles

Create a named profile by opening your command line utility after installing the aws cli tools.

aws configure --profile hackbaby

Access ID
Secret Access Key

Now you have set a named profile (you can set multiple)

Now...to make switching back and forth without a headache. Set your environment variables:

Window$: setx AWS_PROFILE hackbaby

Linux: export AWS_PROFILE=hackbaby

Close your command line tool. Re-open and then get to work. Close and re-open to flip between CLI profiles.



Share:

Monday, June 1, 2020

How to Become AWS Solutions Architect - Associate Certified on The Latest SAA-C02 Exam

Amazon Web Services (AWS) is the King of the Cloud jungle. While Google Cloud Platform and Microsoft Azure are contenders, at the time of this writing and likely a few years into the future, AWS Certifications will put meat and potatoes or salad and fruits for you vege lovers on the table for you and your family for years to come.

AWS simply is in much higher demand because it is in most enterprises, schools, businesses, government agencies and healthcare throughout the world, not just the United States.

The links below are a practical one-stop shop of where to start. You MUST have hands-on. Do not waist your time or listen to anyone trying to use Brian Dumps, cheat or some other way to try to go around the cold, hard, long and enduring process of actually LEARNING what your doing to be able to support a company and to future proof your career or start and run your own business (ever heard of AWS IQ?)!

Being a Paper Tiger or Cheater will NOT make you successful and eventually you be exposed by your lack of experience and inability to work. Do not cheat! Take the time to learn!!!

Those of us that have been working in technology, Datacenters and IT for years that go through the ranks and make it into IT Management or IT Director roles will smell, see a cheater from a mile away. You cannot do the work and cannot understand the technology if you have not actually learned and done it!!! 

For the rest of us, willing to turn off NetFlix, Hulu or Star-Trek on the CBS app or close YouTube from the latest funny video. The reward is greatness. Get your certifications. Get your education. Work hard and then play hard. (When you do get your money...don't waste it splurging!! Invest in something everyone on earth needs...a home/place to call their own: Real Estate. I'm not going to sit here creating URL's for you. Copy and paste them! 🤣

Here you go:

#########
# FAQs  #
##############################################################################################
# Answers in FAQ's may be on the exam since it is something commonly questioned by customers #
##############################################################################################
https://pages.awscloud.com/Exam_Preparation_2020_Solutions_Architect_Associate.html
https://pages.awscloud.com/rs/112-TZM-766/images/AWS_Well-Architected_Framework.pdf
https://aws.amazon.com/ec2/faqs/
https://aws.amazon.com/s3/faqs/
https://aws.amazon.com/vpc/faqs/
https://aws.amazon.com/route53/faqs/
https://aws.amazon.com/rds/faqs/
https://aws.amazon.com/sqs/faqs/
https://d1.awsstatic.com/training-and-certification/docs-sa-assoc/AWS-Certified-Solutions-Architect-Associate_Exam-Guide.pdf

####################################
# You must have hands-on experience!!   #
https://aws.amazon.com/education/awseducate/ (Free)



https://go.aws/2AavkZ3 - AWS Get Certified PDF









https://go.aws/3eZ3bTp - AWS Certification Flyer (PDF)


https://go.aws/376zhKr - AWS Well Architected Framework



Share:

Monday, April 27, 2020

How to Install Zoom on Ubuntu 20.04 LTS

1. Download the latest .deb package from Zoom using Terminal

wget https://zoom.us/client/latest/zoom_amd64.deb

2. Install via the package manager

sudo dpkg -i zoom_amd64.deb 

3. Fix the dependency issues

sudo apt-get install -f

4. Click Zoom from the universal launcher or just type "zoom" from the command line
Share:

Wednesday, April 15, 2020

Understanding Hybrid, IAAS, PAAS and SAAS

Platform Model Control Types for Hybrid, IAAS, PAAS and SAAS

System Architecture Stack - What a company/user/agency controls in Cloud platforms.
This shared use stack also explains what your responsible for maintaining and managing in the Cloud.

  1. Hybrid: Datacenter/Server Room or agency controlled infrastructure
  2. IAAS: Infrastructure as a service (AWS, GCP, Azure, IBM, Rackspace, etc)
  3. PAAS: Platform as a Service (Lambda, Cloud Functions, AWS RDS)
  4. SAAS: Software as a Service (Office365, Google G-Suite, Salesforce) - Technology upgrades, enhancements, changes, etc are by the vendor only.
What do you actually control as a customer?

Platform Types

Share:

Wednesday, February 12, 2020

How To Upgrade Windows 2012/2016 to Windows 2019

1. Normally, i'm not a fan of in-place upgrades, but...it depends on organization requirements. A clean install with scripted configurations is always better.

2. Here is the lazy way for those who have no choice...

3. Snapshot the VM (VMware, Hyper-V, KVM...whatever it is).

4. Add the iSO to the VM (Don't bother booting from the BIOS and running the ISO that way). It will just tell you to boot into the OS anyway. (thank you Microlazy)

5. Open a CMD or Powershell as an administrator.

6. Adprep is now located under "support\adrep\" on the 2019 disk. (Domain Controllers Only)

 

7. From the CLI run the following: adprep.exe /forestprep and then click "C"

8. Domain prep: adprep.exe /domainprep /domain yourdomain.com

9. Next upgrade the GPO Domains: adprep.exe /domainprep /gpprep /domain yourdomain.com

10. Now run the upgrade installer or relaunch it and "Continue where I left off"

11. If it barks about space. Don't add. Reduce. Run this command to wipe out and clean all of the logs: for /F "tokens=*" %1 in ('wevtutil.exe el') DO wevtutil.exe cl "%1"

12. Delete data in the C:\Windows\WinSxS folder over 2 years old (watch GB's drop off!) (FYI. this is the Windows Update folder. You don't need 1/2 of the crap on here) PRO NOTE: You should be doing this for your VM templates before you start using them.

13. c:\dism.exe /Online /Cleanup-Image /AnalyzeComponentStore




14. c:\dism.exe /Online /Cleanup-image /StartcomponentCleanup

15. Post upgrade. You will be prompted for the new MAK Key. Run the following from the command line first as administrator: slmgr -rearm and reboot the server with shutdown /r /t 00 (takes it down and reboots it immediately). Then activate with slmgr -ipk "XXX-The MAK Key"

16. If you get an error. Clear the registry of the key, clear the OS and then reboot the OS. After that activation should work fine via the activation GUI.



17. Commands:

slmgr -cpky && slmgr -upk && slmgr -rearm

shutdown /r /t 00 (shutdown and reboot now)
Reference for WinSxS Cleanup: https://www.saotn.org/windows-server-disk-cleanup/
Share:

Thursday, January 9, 2020

AWS Storage Volume iSCSI CHAP Authentication for Windows Server 2016 and VMware iSCSI Datastores

1. Create the VM on your VMware Platform for the AWS Storage Volume Gateway (YouTube: https://www.youtube.com/watch?v=_h_kPmXStWI)

2. What is not documented anywhere in AWS Documentation is that when you're configuring the ISCSI connection. You have to use the Initiator name that you typed when you configured your CHAP Authentication. Here's how you do it.


Open Notepad or whatever program you use to save notes and paste the Initiator Name and your password so you have it.

3. Go to your Windows Server 2016 box (This is the only OS I tested this on for now) and fire up iSCSI Initiator and then click on connect for the volume your working with.

(iSCSI Initiator Setup: https://amzn.to/36FJcWj or just YouTube it)

4. Add the Initiator Name next to Name under Enable Chap Log On (make sure this box is checked).



5. Format your drive in Disk Management for Windows Server and that's it folks.

6. This is also the same for VMware CHAP authentication for the Storage Adapter Authentication of ISCSI.




Share: