-
Notifications
You must be signed in to change notification settings - Fork 973
Creating and accessing an edx instance on aws #219
Comments
which set of instructions did you follow? On Tue, Aug 20, 2013 at 2:46 PM, Maxim Filippov notifications@github.comwrote:
|
We've used cloud formation! On 20 Aug 2013, at 17:25, elimence notifications@github.com wrote:
|
@maximfilippov Have you looked at this: https://github.com/edx/configuration/wiki/AWS-Installation |
Ha that's the only thing i've been looking at for the past few days! But its not telling me how to deploy & run code as well as access the platform! On 20 Aug 2013, at 17:59, e0d notifications@github.com wrote:
|
Have you run ansible? That will deploy the code. |
Running the configuration playbook seems to only configure the stack. We have done that through the was console so that's the done. Now we want to actually upload and run the code actual code (not just the server configuration stuff that we have done already). Many thanks! On 20 Aug 2013, at 18:31, e0d notifications@github.com wrote:
|
Have you created the full VPC version or are you trying to build a sandbox that runs multiple services? |
We are trying to create the full platform. By following the instructions we end up with a VPC running 12 ec2 instances i.e. we have what seems to be the full stack configured.
|
Wait a minute… I'm realising that I have launched the configuration playbook with ansible using the same stack name (say STACK1) that I used for the stack I had configured through the console (which of course messed up the whole stack). Are you telling me that if I specify a new stack name (say STACK2) and launch the configuration playbook i'll have all the code loaded on STACK1? That would be very awesome! On 20 Aug 2013, at 18:58, e0d notifications@github.com wrote:
|
@maximfilippov We don't have polished docs available yet for running edX in a vpc. It's something we plan to do eventually though it may not happen for awhile. |
I have created an edx single ec2 instance using the config wiki. I have also configured using ansible playbook from edx master. sudo ansible-playbook -c local --limit "localhost:127.0.0.1" However I cannot access LMS or CMS on public IP port 18010 or 18000. The public IP is http://ec2-54-254-185-46.ap-southeast-1.compute.amazonaws.com/ I was getting data not received error while accessing these ports. Can you please guide me on this? |
Where there any error messages when during the setup process? You should also check to see if the nginx and gunicorn are running, or even try restarting them (assuming you aren't using something else in their stead) |
Although there were no errors. I used ansible on the server yesterday. these services were not recognised. Should I run ansible again? Although sudo service nginx status returns nginx running. On Sun, Dec 1, 2013 at 7:08 PM, elimence notifications@github.com wrote:
|
So I executed ansible again. This time it failed at elasticsearch TASK: [elasticsearch | Ensure elasticsearch is enabled and started] *********** FATAL: all hosts have already failed -- aborting localhost : ok=175 changed=44 unreachable=0 failed=1 Now gunicorn is still unrecognised as well as edxapp. elasticsearch shouldn't affect gunicorn or edxapp as such. Anyone - please guide. |
Hello guys,
We've finished the whole instructions for configuring servers on aws. Could you please point us out to next steps i.e. how do we actually deploy and get the code to run?
Thanks so much,
Max
The text was updated successfully, but these errors were encountered: