Coder Social home page Coder Social logo

Comments (14)

elimence avatar elimence commented on June 28, 2024

which set of instructions did you follow?
Using cloud formation or using ansible? etc.

On Tue, Aug 20, 2013 at 2:46 PM, Maxim Filippov [email protected]:

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


Reply to this email directly or view it on GitHubhttps://github.com/edx/configuration/issues/219
.

from configuration.

maximfilippov avatar maximfilippov commented on June 28, 2024

We've used cloud formation!

On 20 Aug 2013, at 17:25, elimence [email protected] wrote:

which set of instructions did you follow?
Using cloud formation or using ansible? etc.

On Tue, Aug 20, 2013 at 2:46 PM, Maxim Filippov [email protected]:

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


Reply to this email directly or view it on GitHubhttps://github.com/edx/configuration/issues/219
.


Reply to this email directly or view it on GitHub.

from configuration.

e0d avatar e0d commented on June 28, 2024

@maximfilippov Have you looked at this: https://github.com/edx/configuration/wiki/AWS-Installation

from configuration.

maximfilippov avatar maximfilippov commented on June 28, 2024

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 [email protected] wrote:

@maximfilippov Have you looked at this: https://github.com/edx/configuration/wiki/AWS-Installation


Reply to this email directly or view it on GitHub.

from configuration.

e0d avatar e0d commented on June 28, 2024

Have you run ansible? That will deploy the code.

from configuration.

maximfilippov avatar maximfilippov commented on June 28, 2024

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 [email protected] wrote:

Have you run ansible? That will deploy the code.


Reply to this email directly or view it on GitHub.

from configuration.

e0d avatar e0d commented on June 28, 2024

Have you created the full VPC version or are you trying to build a sandbox that runs multiple services?

from configuration.

maximfilippov avatar maximfilippov commented on June 28, 2024

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.
On 20 Aug 2013, at 18:58, e0d [email protected] wrote:

Have you created the full VPC version or are you trying to build a sandbox that runs multiple services?


Reply to this email directly or view it on GitHub.

from configuration.

maximfilippov avatar maximfilippov commented on June 28, 2024

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 [email protected] wrote:

Have you created the full VPC version or are you trying to build a sandbox that runs multiple services?


Reply to this email directly or view it on GitHub.

from configuration.

jarv avatar jarv commented on June 28, 2024

@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.

from configuration.

disisid avatar disisid commented on June 28, 2024

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"
./edx_sandbox.yml -i "localhost," -e "edx_platform_commit=master"

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?

from configuration.

elimence avatar elimence commented on June 28, 2024

Where there any error messages when during the setup process?
Also i'd advice you setup an elastic IP as opposed to using the default public DNS (not that i think this is the cause, but at the least, it's cleaner)

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)

from configuration.

disisid avatar disisid commented on June 28, 2024

Although there were no errors. I used ansible on the server yesterday.
Today when I sshed into the server and ran these commands
sudo service gunicorn status
sudo service edxapp status

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 [email protected] wrote:

Where there any error messages when during the setup process?
Also i'd advice you setup an elastic IP as opposed to using the default
public DNS (not that i think this is the cause, but at the least, it's
cleaner)

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)


Reply to this email directly or view it on GitHubhttps://github.com/edx/configuration/issues/219#issuecomment-29573850
.

from configuration.

disisid avatar disisid commented on June 28, 2024

So I executed ansible again. This time it failed at elasticsearch

TASK: [elasticsearch | Ensure elasticsearch is enabled and started] ***********
failed: [localhost] => {"failed": true, "item": ""}
msg: * Starting ElasticSearch Server
...fail!

FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/ubuntu/edx_sandbox.retry

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.

from configuration.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.