Giter Site home page Giter Site logo

Comments (3)

acravenho avatar acravenho commented on June 17, 2024

@danbryan Once you finish the deployment of blockscout-terraform you'll be prompted with instructions on how to deploy explorer. This repo creates all the infrastructure for the explorer to run. It will look similar to:

Outputs:

db_instance_address = tes31-poa.cdl6z46qyrxn.us-east-1.rds.amazonaws.com
instructions = To deploy a new version of the application manually:

    1) Run the following command to upload the application to S3.

        aws deploy push --application-name=tes31-explorer --s3-location s3://tes31-explorer-codedeploy-releases/path/to/release.zip --source=path/to/repo

    2) Follow the instructions in the output from the `aws deploy push` command
       to deploy the uploaded application. Use the deployment group names shown below:

        - tes31-explorer-dg0

       You will also need to specify a deployment config name. Example:

        --deployment-config-name=CodeDeployDefault.OneAtATime

       A deployment description is optional.

    3) Monitor the deployment using the deployment id returned by the `aws deploy create-deployment` command:

        aws deploy get-deployment --deployment-id=<deployment-id>

    4) Once the deployment is complete, you can access each chain explorer from its respective url:

        - sokol: tes31-explorer-sokol-alb-1037244414.us-east-1.elb.amazonaws.com
Infrastructure has been successfully provisioned!

In step one you upload a local copy of blockscout to an s3 bucket. Then you'll be prompted to start a deployment via CodeDeploy in AWS.

from blockscout-terraform.

danbryan avatar danbryan commented on June 17, 2024

Thanks, I'll give that a try! I noticed those instructions in the output, but for some reason when i saw the phrase "To deploy a new version of the application..." it made me think a current version was already installed, and this was only needed for newer versions. Is there a reason the web app deploy cannot be provisioned by terraform? Thanks again for the quick response.

from blockscout-terraform.

acravenho avatar acravenho commented on June 17, 2024

Great, please let me know if you need any further help.

In the future, we're planning on letting terraform handle everything including deploying the explorer.

from blockscout-terraform.

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.