Skip to content

Commit 7ecddc3

Browse files
ddbrendansislr
andauthored
Add deploio object storage guide (#431)
* Add deploio section * Rename file * Remove headings, renuo cli setup and rails config sections * Update README with correct link to object storage * Uppercase Co-authored-by: Simon Isler <[email protected]> * Move Deploio section to the top * Fix linting and update summary reference --------- Co-authored-by: Simon Isler <[email protected]>
1 parent c26931e commit 7ecddc3

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
- [Sparkpost & Mailtrap](sparkpost_and_mailtrap.md)
4545
- [Devise](ruby_on_rails/devise.md)
4646
- [Cucumber](ruby_on_rails/cucumber.md)
47-
- [Amazon S3 and Cloudfront](ruby_on_rails/aws.md)
47+
- [Object Storage](ruby_on_rails/object_storage.md)
4848
- [Bootstrap](ruby_on_rails/bootstrap.md)
4949
- [FontAwesome](ruby_on_rails/font_awesome.md)
5050
- [Bullet](ruby_on_rails/bullet.md)

ruby_on_rails/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ useful services:
6161
1. [Sparkpost & Mailtrap](../sparkpost_and_mailtrap.md)
6262
1. [Devise](devise.md)
6363
1. [Cucumber](cucumber.md)
64-
1. [Amazon S3 and Cloudfront](aws.md)
64+
1. [Object storage](object_storage.md)
6565
1. awesome_print `gem 'awesome_print'`
6666
1. [bootstrap](bootstrap.md)
6767
1. [font-awesome](font_awesome.md)
Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
1-
# Amazon Services
1+
# Object Storage
2+
3+
## Deploio
4+
5+
### Command generation
6+
7+
The following command will generate command-line-commands to set up object storage on Deploio.
8+
You'll need to run them by yourself after reviewing the output.
9+
10+
1. Run `renuo create-deploio-object-storage`
11+
1. Follow the steps and answer the questions
12+
1. Now it will print you out a series of commands e.g.:
13+
14+
```sh
15+
# Deploio main
16+
17+
nctl create bucketuser main --project <<your-project>> --location <<location>>
18+
[...]
19+
nctl get bucketuser main --project <<your-project>> --print-credentials
20+
[...]
21+
22+
# Deploio develop
23+
[...]
24+
```
25+
1. Review the commands carefully (e.g. make sure that you enable bucket versioning for the main branch)
26+
27+
If you think that the script is outdated, please open a Pull Request on the [renuo-cli](https://github.com/renuo/renuo-cli) project.
28+
29+
For further configuration and best practices, please refer to the [Deploio documentation](https://docs.deplo.io/ruby/object-storage.html#setup-object-storage).
30+
31+
## AWS
232
333
The following Amazon services are involved in our app setups
434
@@ -41,7 +71,7 @@ If you want to check your config, run `aws configure --profile renuo-app-setup l
4171
4272
We would recommend setting default region name to `eu-central-1`. The default output format is json and should not be changed.
4373
44-
### Command generation
74+
### AWS Command generation
4575
4676
The following command will generate command-line-commands to set up S3 and CloudFront.
4777
You'll need to run them by yourself after reviewing the output.

0 commit comments

Comments
 (0)