Giter Club home page Giter Club logo

cool-webpage's Introduction

Cool-webpage

Terraform AWS S3 Static Website Deployment

This Terraform script deploys a static website on Amazon S3. The website consists of two pages, index.html and error.html, with additional styling and vector shapes.

Prerequisites

  • Terraform installed.
  • AWS credentials configured.

Usage

  1. Clone the repository:

    git clone https://github.com/nandhanandy92/Cool-webpage.git
    

Navigate to the project directory:cd s3-static-websiteUpdate the main.tf file:Replace "your-unique-bucket-name" with a globally unique bucket name.

  1. Initialize and apply the Terraform configuration:

    terraform init
    
    terraform #apply Confirm with yes when prompted.
  2. Once the deployment is complete, the website will be hosted on the S3 bucket. Access it via the endpoint provided in the Terraform output.

  3. Cleanup: To destroy the infrastructure and remove the S3 bucket, run: terraform destroy Confirm with yes when prompted.

  4. Website Styling and Background

    • index.html: A welcoming page with a blue wave-like background.

    • error.html: An error page with a red wave-like background.The styling and background are defined in the respective HTML files.Feel free to customize the HTML content and styles to suit your preferences.

  5. Remember to replace "your-unique-bucket-name" with an actual unique bucket name.

cool-webpage's People

Contributors

nandhanandy92 avatar

Stargazers

Venkata Krishnan R S avatar

Watchers

 avatar

Forkers

venkat-267

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.