Posts

Showing posts from February, 2015

AWS: Upgrade PV Drivers on Windows Instances

Image
Amazon Windows AMIs contain a set of drivers to permit access to Xen virtualized hardware. These drivers are used by Amazon EC2 to map instance store and Amazon EBS volumes to their devices. If your Windows instance is launched from a Windows Server 2012 R2 AMI, it uses AWS PV drivers. If your Windows instance uses RedHat drivers, you can upgrade to Citrix drivers. If you are already using Citrix drivers, you can upgrade the Citrix Xen guest agent service. To verify which driver your Windows instance uses , open  Network Connections  in Control Panel and view the  Local Area Connection . Check whether the driver is one of the following: AWS PV Network Device Citrix PV Ethernet Adapter RedHat PV NIC Driver Alternatively, you can check the output from the  pnputil -e  command. AWS PV Drivers Windows Server 2012 R2 AMIs include AWS PV drivers. The AWS PV drivers are stored in the %ProgramFiles%\Amazon\Xentools directory. This directory also contains public symbo

Tool for Amazon S3 & EC2 Instance (S3.exe)

S3.exe is a Windows command line utility for Amazon S3 & EC2 web services that requires no installation is a single .Exe file with no DLLs and requires only .NET 2.0 or Mono, so will works on a plain vanilla windows. Download Link:  https://drive.google.com/file/d/0B9AQ1D2DEgAkY2NXbEl0d2pvUW8/view?usp=sharing Commands: auth - Gets and saves your Amazon authentication details for future invocations. get - Gets an object or objects from S3. help - Displays help about a specified command. instances - Displays current EC2 instances (coming in version 1.4) list - Lists keys or buckets. put - Puts a file, files or an entire directory hierarchy to S3. snapshot - Starts an EBS snapshot. Options: /acl - Sets the ACL of an uploaded file. /backup - Respects the Windows archive flag. /big - Splits and rejoins files on the fly. /sub - Transfers an entire directory hierarchy. /sync - Uses HTTP HEAD to rapidly determine which files need to be t

AWS: Script to Backup server data to S3 Bucket using Command Line tool

Script to automate backups using a Windows command line   tools   with backups and sync using   S3.EXE Command in the .bat file s3   put   mybucket /pictures/ c:\mypictures\    /sub /sync /key : asdkfaksdfk   secret : ASDFASDFASDFASDFA Explanation: S3:   command. Put:   will    copy the files from our server to s3 mybucket /pictures   :   is the location of the s3 bucket with folder path c:\mypictures:   local path from where the files   is   to be copied to S3 / sub :   copies an entire directory hierarchy / sync   :   only uploads files that do not exist on S3 or have been modified    since last being uploaded. Key:   is the private key for   u r   S3 bucket. Secret:   is the secret code for the S3 bucket given. You can schedule the .bat file on windows task manager which we have written using the command Note: Change your Bucket Name, location, key and secret key and also change local path Download   link for S3.EXE