In my setup I have 2 accounts: Account A runs CodeCommit + CodePipeline Account B has an ECS cluster Most of the steps I did are described in the Create a Pipeline in CodePipeline That Uses Resources guide from AWS. However, my setup is to deploy to ECS using CodePipeline without using CodeDeploy. So I had to create a CrossAccount role with the following policies. Policy to access KMS key in account A Policy to allow access to S3 bucket in account A: Policy to allow access to ECS in account B Policy to pass the role to ECS: Without these policies I was getting a lot of different errors in CodePipeline like “The provided role does not have sufficient[…]

If you want to make a backup of your database or just want to create a dump to migrate your db to another provider, you need to do these steps: 1. Connect to your running application trough SSH. To do that you need to click this link on OpenShift and run the displayed command. 2. Create the dump using this command: mysqldump -u $OPENSHIFT_MYSQL_DB_USERNAME -h $OPENSHIFT_MYSQL_DB_HOST –password=$OPENSHIFT_MYSQL_DB_PASSWORD $OPENSHIFT_GEAR_NAME > dump.sql gzip dump.sql 3. After that you can scp the dump to any location you want.

If you are trying to upload a WordPress site to OpenShift you will have to make the following adjustments to your wp-config.php file: // ** MySQL settings – You can get this info from your web host ** // /** The name of the database for WordPress */ define(‘DB_NAME’,$_ENV[‘OPENSHIFT_GEAR_NAME’]); /** MySQL database username */ define(‘DB_USER’, $_ENV[‘OPENSHIFT_MYSQL_DB_USERNAME’]); /** MySQL database password */ define(‘DB_PASSWORD’, $_ENV[‘OPENSHIFT_MYSQL_DB_PASSWORD’]); /** MySQL hostname */ define(‘DB_HOST’, $_ENV[‘OPENSHIFT_MYSQL_DB_HOST’] . ‘:’ . $_ENV[‘OPENSHIFT_MYSQL_DB_PORT’]); This will help WordPress to use the environment variables that OpenShift setup to connect to MySQL.

I have created 2 Fedora 21 images for the HummingBoard and Cubox-i. http://vps1.mkreder.com/Fedora-Mate-armhfp-21-5-sda.raw.xz MATE http://vps1.mkreder.com/Fedora-LXDE-armhfp-21-5-sda.raw.xz LXDE I will create a XFCE based image too, soon. In order to extend the root filesystem on this image, you need to run: fdisk /dev/location-of-your-fedora-arm-media << EOF d 3 n p 2001954 w EOF partprobe /dev/location-of-your-fedora-arm-media e2fsck -f /dev/location-of-your-fedora-arm-media3 resize2fs /dev/location-of-your-fedora-arm-media3 More information about Fedora on these boards can be found on this github page