Skip to main content

Posts

Showing posts from 2020

How to Login to AWS using CLI with AzureSSO through Azure Active Directory

Testing on Windows 10 Release 1909  Prerequisite (Install Visual Studio Code and the AWS CLI if you don't have it already installed and your Azure Active Directory is already configured and processing authentication) 1. Install Node.Js https://nodejs.org/en/ (Use the LTS Edition/Version) 2. Check the node version in PowerShell or Windows Terminal: node --version && npm --version 3. npm install -g aws-azure-login *install will take about 15-20 minutes. Be patient and let it finish.  4. Configure your profile aws-azure-login --configure --profile=<<Name of your profile>> Example:  aws-azure-login --configure --profile=migrationking Pro Tip: It installs the profile on your machine under ~/.aws/config . You can edit the file with Visual Studio Code or Notepad++ #This will prompt to Enter the Azure AD details *** Azure Tenant ID: << Enter the Azure AD Tenant ID from the Azure AD application configuration for the AWS Account to be accessed>> Azure Tenant I

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. Docs:  https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html

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.  Google Cloud Platform is going full-steam ahead though! 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 T

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

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. Hybrid: Datacenter/Server Room or agency controlled infrastructure IAAS: Infrastructure as a service (AWS, GCP, Azure, IBM, Rackspace, etc) PAAS: Platform as a Service (Lambda, Cloud Functions, AWS RDS) 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?

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. R

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 th

Install Windows Remote Server Administration Tools on Windows 10 1909 (RSAT)

Microsoft has now included the Windows Server Remote Server Administration (RSAT) tools in Windows 10 release 1909 as a FOD (Feature on Demand). Instead of playing around with the Windows UI. Launch Powershell as an administrator and run this command Get-WindowsCapability -Name RSAT* -Online | Add-WindowsCapability -Online It will run for about 5-10 minutes. It takes forever so you can just use this script from Martin Bengtsson:  https://gallery.technet.microsoft.com/Install-RSAT-for-Windows-75f5f92f