I just found out that I was supposed to have a blog about the class.
The first assignment went rather slowly. It took quite awhile to learn the different things necessary to do the project.
The project was to start an ami, put the things I needed to on the ami, install bootsrapping code on the ami so that this bootstrapping code will download a user-data script and use that to bootstrap the server on startup to customize the instance.
I started wtih elasticfox and found out how to get elasticfox working. Afterwards, I had to get my keys right. It was a bit tricky to get that right because I had to use puttygen to generate dthe right private key from the file that I received.
After this happened, I needed to install things on my ami and tehn bundle it and upload it and register it. I was stuck on hwo to bundle it because the tutorial tha tI was looking at said that I needed to have the certificate and private key associated with my aws account. Since this information is shared within our class, I didnt' watn to generate a new public/private key pair. I had to go to class and ask for the public and private key pairs. A few days later, Devlin posted the pairs on the blog.
I struggled with different things happening in my user-data script. One thing I struggled with was that I couldn't see the warning or error messages generated if things went wrong in the user-data script. What more, it took me awhile to find out that the user-data script is executed from the / directory while it's downloaded to the /tmp directory. Everything done is done from the / directory. I struggled with different things of this.
In the end, I got it to work and cgi working. I was done with the lab.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment