Skip to main content

A simple AWS static website deployment

Project description

AWS static website package is implemented for deploying a bucket with its Cloudfront distribution and its domain name.

You can use this package for deploying a static website on the bucket deployed.

It is part of the educational repositories to learn how to write stardard code and common uses of the TDD.

Prerequisites

You have to install the AWS Cloud Development Kit (AWS CDK) for deploying the AWS resources:

npm install -g aws-cdk # for installing AWS CDK
cdk --help # for printing its commands

And you need an AWS account, in this repository called your-account.

Installation

The package is not self-consistent. So you have to download the package by github and to install the requirements before to deploy on AWS:

git clone https://github.com/bilardi/aws-static-website
cd aws-static-website/
pip3 install --upgrade -r requirements.txt
export AWS_PROFILE=your-account
cdk deploy

Or if you want to use this package into your code, you can install by python3-pip:

pip3 install aws_static_website
python3
>>> import aws_static_website
>>> help(aws_static_website)

Read the documentation on readthedocs for

  • Usage

  • Development

Change Log

See CHANGELOG.md for details.

License

This package is released under the MIT license. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_static_website-0.0.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

aws_static_website-0.0.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file aws_static_website-0.0.3.tar.gz.

File metadata

  • Download URL: aws_static_website-0.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.2

File hashes

Hashes for aws_static_website-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e38d081389526293ed02de592b69c9f7c67527e325baa83f25536ceed9b84fbc
MD5 4e9bc1c4dd65c1a85dbdf08ebdbc89d0
BLAKE2b-256 fba28ec3a377d14ce3c0abe54bff0487cfaa734137b0d5edb61cd897ed72f8d1

See more details on using hashes here.

File details

Details for the file aws_static_website-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: aws_static_website-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.2

File hashes

Hashes for aws_static_website-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 226ac9edfeefeaa87406889067fed819d83d4fc10360b4bdfcf25560951f2b00
MD5 d2743b7be62eb2f59b99bd5523a985af
BLAKE2b-256 9ea354b8b5a8d831b9772ebca0d2c3c165c76d8934afd951e2144de9af9d6211

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page