For more information about... | See... | 25 |
---|---|
Adding a database slave | [[Add a database slave to an existing environment|database-environments#topic3]] | 28 |
For more information about... | See... | 24 |
---|---|
Setting up your local machine | [[Set up your local environment|setup-environment]]. | 27 |
hosting your code on GitHub | this [[Spanish translation of the Host your Code on GitHub tutorial|http://www.decisionesinteligentes.com/guides/github-como-repositorio]], courtesy of Mario Alberto Chavez Cardenas of [[Decisiones Inteligentes|http://www.decisionesinteligentes.com/]] and [[Tiajuana.rb|http://tijuanarb.org/]]. | 30 |
8 | Note: You will not be able to recover your IP address after it 9 | has been deleted. 10 |
11 | 12 | ## Delete an address 13 | 14 | * Login to your Engine Yard account. 15 | * Click the IP Addresses menu item. 16 | * Locate the ip address(es) you want to delete. 17 | * Click the Delete link. 18 | * Click OK when asked to confirm. -------------------------------------------------------------------------------- /pages/ips-intro.md: -------------------------------------------------------------------------------- 1 | # IP addresses on Engine Yard Cloud 2 | 3 | Engine Yard Cloud uses Amazon AWS [[Elastic IP Addresses|http://aws.amazon.com/ec2/]]. 4 | Each Engine Yard account is initially allotted five IP addresses to associate with your 5 | environments. 6 | 7 | 8 | ## Topics 9 | 10 | * ### [[Manage your IP addresses|ips-manage]] 11 | Learn how to add, attach, and detach IP addresses in your environments, and to get more IP addresses for your account. 12 | 13 | * ### [[Delete your IP addresses|ips-delete]] 14 | Learn how to delete IP addresses from your Engine Yard account. 15 | 16 | * ### [[Configure your domain and DNS for Engine Yard Cloud|ips-setup-dns]] 17 | Learn how to configure DNS and domain settings for your environments. -------------------------------------------------------------------------------- /pages/ips-setup-dns.md: -------------------------------------------------------------------------------- 1 | # Set up your domain and DNS for Engine Yard Cloud 2 | 3 | Anyone can access your web application on Engine Yard Cloud by the generic http://ec2-xxx-xx-xxx-xxx.compute-1.amazonaws.com/. However, most users would rather have www.myapp.com to be the point of access. How can we accomplish that with Engine Yard Cloud? 4 | 5 | Domain Name System (DNS) services are not offered on Engine Yard Cloud. If you are currently using Engine Yard name servers, you need to register with a DNS service provider and update your registrar to use that provider's name servers. Check with your registrar; they may also offer control of your DNS zone records. 6 | 7 | ## Setup Engine Yard Cloud to work with a DNS provider 8 | 9 | This procedure uses the specific example of [[DNSimple|http://www.dnsimple.com]] as the service provider. Other service providers require similar steps. 10 | 11 | ### Steps for setup: 12 | 13 | 1. Create an account with DNSimple if you haven't already. 14 | 15 | 2. Log into DNSimple. 16 | 17 | 3. Click Domains. 18 |  19 | 20 | 4. Click ADD A DOMAIN. 21 | 22 | 5. Add your domain if you have one already, if not, you can create one. 23 | The status changes to Active after your domain has been added. 24 |  25 | 26 | 6. Click MANAGE. 27 | 28 | 6. Click ADVANCED EDITOR. 29 |  30 | 31 | 7. Click ADD A RECORD. 32 |  33 | 34 | 8. Go to cloud.engineyard.com and log in. 35 | 36 | 9. Under Server Tools, click IP Addresses. 37 | 38 | 39 | 10. Locate the IP address of the environment of the application that you want the domain name to point to. 40 |  41 | 42 | 11. Insert the IP address from step 11 into Address* field, and click ADD RECORD. 43 |  44 | 45 | 12. Confirm that the record was added correctly. 46 |  47 | 48 | 13. Verify your DNS settings work by accessing your page via your domain name. 49 |  50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /pages/issue-delete-application.md: -------------------------------------------------------------------------------- 1 | # Stopping an application running on a multi-application environment 2 | 3 | If your application is running in a multi-application environment, it continues to run *even* after you detach the application from the environment and delete the application. 4 | 5 | Follow this procedure to stop the application without bringing down the environment and stopping the other application(s) running on that environment. 6 | 7 | ##To stop an application running on a multi-application environment: 8 | 9 | 1. Detach the application from the environment. (On the Dashboard, click the environment, and then click "Detach app_name from this environment" at the bottom of the page.) 10 | 11 | 2. Delete the application. (On the Dashboard, click the application name, and then click the x icon.) 12 | 13 | 3. SSH into the application master instance. 14 | 15 | 4. Type to delete nginx files and directories related to that application: 16 | 17 | rm -rf /etc/nginx/servers/myapp* 18 | 19 | where `myapp` is the name of your application. The asterisk is necessary to remove files such as myapp.conf and myapp.ssl.conf. If your application uses keep files, remove them too. 20 | 21 | 22 | 5. (Optional) Type to sanity check the remaining configuration: 23 | 24 | sudo /usr/sbin/nginx -t 25 | 26 | 6. Type to reload nginx configurations: 27 | 28 | sudo /etc/init.d/nginx reload 29 | 30 | 7. If the application is running in a clustered environment, repeat Steps 3 to 6 for any application slave instances. 31 | 32 |For more information about... | See... | 37 |
---|---|
SSHing into an instance | [[Connect to your instance via SSH|ssh-connect]]. | 40 |
For more information about... | See... | 49 |
---|---|
Moving your application to a different region | [[Moving your application to a different region|moving-your-site-to-us-west-zone]]. | 52 |