LoginSignup
3
4

More than 5 years have passed since last update.

EC2上でCoffeeFormationを利用するまでのメモ

Posted at

はじめに

備忘録として記載します。
CoffeeFormationについては以下URLを参照してください。
- CoffeeFormation
- CoffeeFormation 1.0.1 update

手順

EC2はデフォルトインストールされた状態を想定

// nodejs npmをインストールするためにepelリポジトリから取得
$ sudo rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo yum install -y --enablerepo=epel nodejs npm
// npmコマンドでCoffeeFormationに必要なパッケージをインストール
$ sudo npm install -g inherits
$ sudo npm install -g csfn
$ sudo npm install -g coffee-script
// EC2上からCloudFormationへ連携できるように設定
$ vi ~/.awscredential
 // 新規作成
 AWSAccessKeyId=[Your AWS AccessKeyId]
 AWSSecretKey=[Your AWS SecretKey]
$ vi ~/.bashrc
 // 最終行に以下を追記
 export AWS_CREDENTIAL_FILE=~/.awscredential
$ . ~/.bashrc

Let's enjoy CoffeeFormation!

3
4
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4