Each replica currently running will have a different HOST_INDEX, but once a replica is terminated, its HOST_INDEX can be re-used in another replica.ĪPP_NAME contains your gigalixir app name.ĪPP_KEY contains the app specific key you need to fetch information about your app from inside the replica. We also keep a sort of ordered list of your replicas that you can use to report hostnames to keep your number of hosts low. The hostname for each replica is randomly generated which can be a problem for services like DataDog and NewRelic who charge by the host. HOST_INDEX contains the index of the replica. What built-in environment variables are available to my app? ¶ We open new regions based purely on demand. If you don’t see the region you want, please contact us and let us know. We plan to add AWS to the Gigalixir CLI soon. Just contact us and we’ll create one for you. One thing to keep in mind is that Gigalixir Postgres databases are as of right now only available in GCP/v2018-us-central1 and GCP/europe-west1, however, we can set up a database for you in AWS manually if you like. If you don’t mind downtime, the transition could be easy, but unfortunately gigalixir isn’t able to do it for you with a button press. If you want to do this, Heroku’s guide is a good overview of what you should consider. Once the app is created, it’s difficult to migrate to another region. When creating your app with gigalixir create simply specify the -cloud = aws and -region = us-east-1 options. We currently support GCP v2018-us-central1 and GCP europe-west1 as well as AWS us-east-1 and AWS us-west-2. Or if most of your users are in Europe, you probably want to host your app in Europe. Yes, if your current infrastructure is on AWS, you’ll probably want to run your gigalixir app on AWS too. Why do you download the slug on startup instead of including the slug in the Docker image?Ĭan I run my app in AWS instead of Google Cloud Platform? What about Europe? ¶.I thought you weren’t supposed to SSH into docker containers!?.How is Gigalixir different from Heroku and Deis Workflow?.What versions of Elixir and OTP do you support?.What versions of Phoenix do you support?.How do I install extra binaries I need for my app?.What packages are available to my Gigalixir app?.How to Set Up Distributed Phoenix Channels.How to do blue-green or canary deploys?.Can I deploy an app that isn’t at the root of my repository?.How to Set Up Review Apps (Feature branch apps).How to Set Up Continuous Integration (CI/CD)?.How do I give someone access to my app?.How to specify SSH key or other SSH options.How can I get a static outgoing ip address?.What built-in environment variables are available to my app?.Can I run my app in AWS instead of Google Cloud Platform? What about Europe?.Can I choose my operating system, stack, or image?.How do I specify which buildpacks I want to use?.How do I specify my Elixir, Erlang, Node, NPM, etc versions?.How do I use webpack, yarn, bower, gulp, etc instead of brunch?.How to specify which release, environment, or profile to build.How to manually set up a Google Cloud SQL PostgreSQL database.How to upgrade a Free DB to a Standard DB.How to provision a Standard PostgreSQL database.How to provision a Free PostgreSQL database.Set up Node Clustering with Libcluster (optional).Modifying an Existing App to Run on Gigalixir.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |