Static Site in Yandex Object Storage
Static Site in Yandex Object Storage is a comprehensive solution for hosting static websites on Yandex Cloud infrastructure. The product automatically configures all necessary components: S3 bucket for hosting, Let’s Encrypt SSL certificate, DNS records, and access permissions.
The solution supports popular static site generators (Hugo, Gatsby) with pre-configured settings, and also allows custom configurations for any other tools. All components are configured automatically with minimal access rights to ensure security.
Template repositories
This Cloud App has ready-to-use templates repositories:
- Hugo: https://sourcecraft.dev/yandex-cloud-examples/cloudapp-hugo
- React: https://sourcecraft.dev/yandex-cloud-examples/cloudapp-react
- Gatsby: https://sourcecraft.dev/yandex-cloud-examples/cloudapp-gatsby
- Vue: https://sourcecraft.dev/yandex-cloud-examples/cloudapp-vue
Highlights
- Quick Deployment. Complete infrastructure setup in minutes without manual configuration.
- Automatic SSL. Free Let’s Encrypt SSL certificate with automatic renewal.
- Popular Generators Support. Pre-configured settings for Hugo and Gatsby.
Use Cases
- Personal blogs and developer portfolios.
- Corporate landing pages and business cards.
- Project and API documentation.
- Static web applications (SPA).
- Product and service presentation websites.
- Make sure you have a DNS zone for your domain.
- Create a Service Account with
storage.admin,lockbox.admin,certificate-manager.admin,dns.adminroles (adminrole includes all the required roles). - In the management console select the Cloud Apps service.
- In the left panel, select Application Store.
- Select Static Site on S3 and click the Use button.
- Specify:
- Application name.
- (Optional) Application description.
- The service account created earlier.
- DNS zone for your domain.
- (Optional) Subdomain for the site. If not specified, the site will be available on the root domain.
- Website configuration: Hugo, Gatsby, or custom with index and error page files specification.
- Click the Install button and wait for the application to install.
- After installation, find the created S3 bucket in the Application Resources section.
- Upload your static site files to the bucket via management console or AWS CLI.
- Important: Let’s Encrypt SSL certificate may take up to 10-15 minutes to issue. In the Application Resources section, find the
certificateresource to track the certificate issuance status. - Your site will be available at
https://[subdomain.]domainafter successful SSL certificate issuance.
- Personal blogs and developer portfolios.
- Corporate landing pages and business cards.
- Project and API documentation.
- Static web applications (SPA).
- Product and service presentation websites.
Yandex Cloud technical support is available 24/7. The types of requests you can submit and the appropriate response time depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms here.
| Resource type | Quantity |
|---|---|
| Service account | 1 |
| Service account static access key | 1 |
| Access binding for Object Storage bucket | 1 |
| Object Storage bucket | 1 |
| Access rights for Lockbox secret | 1 |
| Lockbox secret | 1 |
| Lockbox secret version | 1 |
| Access rights for folder | 1 |
| TLS certificate | 1 |
| Cloud DNS resource records | 2 |