Browse files

Update README.md

Added more steps within S3 configuration, and created new entry on Amazon Elastic MapReduce.
  • Loading branch information...
1 parent c80a484 commit 822b1b9a9d02ff6edfd54c45e3738d6245352b93 @joechong88 joechong88 committed Jan 4, 2014
Showing with 16 additions and 3 deletions.
  1. +16 −3 ch04/README.md
View
19 ch04/README.md
@@ -39,12 +39,20 @@ cd ch04/
dotcloud create myapp
dotcloud push myapp
-## Setup the s3cmd to connect to Amazon Simple Storage Service (S3)
+## Setup the s3cmd to connect to Amazon Simple Storage Service (S3) ##
Firstly, sign up for a free account in Amazon Web Services. Credit card information is required in order to validate the account. As of writing, shouldn't worry about the charges as its very minimal if the size utilization is very small. (US$0.50 per month)
-After obtaining your free account, enable usage of S3, create a user id, create a new group called admin, assigned admin access rights to the group, and finally assign the newly created user to the admin group. You'll then need to create an access key and secret key before you can configure the s3cmd (Amazon S3 web interface -> Security and Credentials). You'll need to download s3cmd utility and execute the following command.
+After obtaining your free account, enable usage of S3, create a user id, create a new group called admin, assigned admin access rights to the group, and finally assign the newly created user to the admin group. You'll then need to create an access key and secret key before you can configure the s3cmd (Amazon S3 web interface -> Security and Credentials). You'll need to download s3cmd utility (google and you shall find) and install it with the following (NOTE: I'm using my preference of /usr/local/ to hold all this executables. Feel free to change to where you normally put yours)
+```
+tar -zxvf s3cmd-1.5.0-beta1.tar.gz
+mv s3cmd-1.5.0-beta1.tar.gz /usr/local/
+mv /usr/local/s3cmd-1.5.0-beta1.tar.gz /usr/local/s3cmd
+cd s3cmd
+python setup.py install
+```
+Proceed to do configuration of s3cmd
```
[bash]$ ./s3cmd --configure
New settings:
@@ -57,7 +65,7 @@ New settings:
HTTP Proxy server port: 0
```
-Upload the emails created so far into S3, by first creating a bucket
+Upload the emails created so far into S3, by first creating a bucket (The bucket should be named according to where you've created it, as well as where you've stored your downloaded mail data per Chapter 03)
```
[bash]$ ./s3cmd mb s3://rjurney.email.upload
Bucket 's3://rjurney.email.upload/' created
@@ -67,6 +75,11 @@ Bucket 's3://rjurney.email.upload/' created
3473302 of 3473302 100% in 7s 439.21 kB/s done
```
+## Configure Amazon Elastic MapReduce ##
+
+The sign-up process is trickier, as you'll need to subscribe to this offering under Amazon Web Services. Steps to be continued...........
+
+
## Conclusion ##
Thats it - cloud setup is done!

0 comments on commit 822b1b9

Please sign in to comment.