Error establishing a database connection AWS EC2 WordPress MYSQL

Error establishing a database connection while using WordPress installed on AWS EC2 Using the Free tier EC2 server on Amazon with an active wordpress server requires a bit of work, namely that you need a script that will restart the mysqld service. However, it really help to add a swap file, not installed by default with …

Can’t delete IAM role because policies are attached · Harder to remove IAM than to create it

I am trying to uninstall a role , policy and profile in AWS command line. I made a script that creates the role, etc but need to make an uninstall script. ~/.local/bin/aws iam create-role –role-name CharmingMachineBashRole –assume-role-policy-document file:///usr/local/sbin/AllowSecGroupCreate.json ~/.local/bin/aws iam attach-role-policy –role-name CharmingMachineBashRole –policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess ~/.local/bin/aws iam create-instance-profile –instance-profile-name CharmingMachineBash-Instance-Profile ~/.local/bin/aws iam add-role-to-instance-profile –role-name CharmingMachineBashRole …

This sounds really great and affordable. AquaSec Security Has On-Demand Scanner for Container Images on AWSMarketplace

For 29 cents you can find nasty stuff on your Images. Using the marketplace scanner, everything from Trojans to forgotten keys, and Vulnerabilities  were found. I can’t wait to try this. I don’t know if I know the folks from this biz, but pray for their success. Aqua’s On Demand Vulnerability Scanner – How it Works: …

Recommended Network ACL Rules for Your #VPC – @Amazon Virtual Private Cloud – Be sure to use correct Region

Use NACL on AWS VPC as a firewall

Easy way to block simple attacks from a single IP address or a a few on the same network. Until I automate the a block script, I did this manually, but first I was connected to the wrong region. There are really intelligent hacks, then there are medium intelegence hacks, and there are just jerk …

Today, I am at AWS Solutions Training for partners

Charming Cloud AWS Marketplace Windows EC2 Call our NY Number (212) 729 - 8094

I can help you get into the cloud. Today I will be at the  AWS Solutions Training for Partners: Foundations at the Sheraton Hotel in Tel Aviv. AWS Solutions Training for Partners: Foundations Posted On: Jul 22, 2015 We have released AWS Solutions Training for Partners, a free one-day training designed to teach partners techniques …

ec2-register – Client.InvalidManifest: Invalid block device mapping: Invalid device name ‘/dev/xvda’

ec2-register give: Client.InvalidManifest: Invalid block device mapping: Invalid device name ‘/dev/xvda’ The solution was found at https://forums.aws.amazon.com/message.jspa?messageID=243692 We have pre-configured MongoDB with XFS as well as Passworded Security. To install go to AWS – Secure MongoDB 3.4 on XFS for superior performance I mostly followed instructions at: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-instance-store.html ec2-register charming-amis/charming-LAMP-swap/image.manifest.xml -n charming-LAMP-swap-ami –virtualization-type hvm  –region us-west-1 An …