Posted On March 31, 2019

Amazon Web Services Testing

kimconnect 0 comments
blog.KimConnect.com >> Virtualization >> Amazon Web Services Testing
AWS Test Procedures:
 
Test Control Condition:
Launch an Instance by choosing Windows OS AMI
Create a local domain administrator account as admin and password as password
Join the computer to theKim Connect domain
 
Simulation 1: Recover from a Destroyed Instance
 
Copy AMI from running instance
Terminate original instance
Launch the copied instance
Attach the backup volumes from snapshots
 
Run these command from a local workstation that has Systernals installed:
 
Reset computer account password with domain controller
———- This procedure doesn’t work! ——————-
psexec \\mail01 -e -h -u mail01\admin -p password netdom resetpwd /s:dc01 /ud:kimconnect\admin /pd:password && shutdown -r -t 0
 
Re-attach volumes
psexec \\mail01 -e -h -u kimconnect\admin -p password diskpart /s “\\kimconnect.com\netlogon\activateDrives.txt”
 
Simulation 2: Recover from Autoscale Group instance reconstruction
 
Attach the instance to an AWS Autoscale Group (procedure to be detailed later)
 
Reboot the instance to simulate a “machine down” problem. A new instance would be launched by the Autoscale Group. The original instance should be terminated by that Autoscale Group. This new instance would have a “broken trust relationship” with the domain; thus, its computer password account should be reset with the following proceedure:
 
Reset computer account password with domain controller
psexec \\mail01 -e -h -u mail01\admin -p password netdom resetpwd /s:dc01 /ud:kimconnect\admin /pd:password && shutdown -r -t 0
 
Simulation 3: TBD

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Automating Microsoft Failover Cluster Maintenance – FileServer, SQL AlwaysOn, Hyper-V Guest VMs, Disks Operations

##################################################################################################### # MsClusterMaintenance_v0.0.2.ps1 # Author: KimConnect.com # License: GPLv3 # Description: this program automates the…

How to Deploy PiHole in a Kubernetes Cluster

Step 0: Create NFS Share Ensure that the NFS share has been created with these…

Import virtual machines from VMware ESX to AWS

Step 0, Option 1: Create AWS keys Info: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#cli-signup   Step 0, option 2 -…