Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

aws cli create bucket command

aws s3 mb s3://<bucket-name>
# or
aws s3api create-bucket --bucket <bucket-name> --region <region>

# if error occurs as: (BucketAlreadyExists) 
# need to specify unique name like "bucket-name-5184653123"
Comment

how to create s3 bucket in aws cli

aws s3 mb s3://bucket_name
#bucket_name is user defined. It will be created at S3 storage.
# bucket_name should not be duplicate.
Comment

creating bucket in aws cli

$ aws s3api create-bucket      --bucket my-second-emr-bucket      --region us-east-2      --create-bucket-configuration LocationConstraint=us-east-2
Comment

create bucket in aws

pip install boto3

import boto3

client = boto3.client('s3')
client.create_bucket("bucket01")
Comment

PREVIOUS NEXT
Code Example
Shell :: delete missing files from svn 
Shell :: chmod execute permissions for everyone 
Shell :: laravel start kit authentication 
Shell :: install wmctrl in mac 
Shell :: how to use ssh to connect to a remote server in linux 
Shell :: linux rename all files in directory 
Shell :: how to disable a user linux 
Shell :: Could not find or parse valid build output file. 
Shell :: get current path unix 
Shell :: access django admin 
Shell :: ubuntu move file 
Shell :: ps linux 
Shell :: linux run .sh in terminal 
Shell :: add remote in git 
Shell :: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 
Shell :: how to update power shell with command 
Shell :: github api tutorial 
Shell :: upgrade package using pip 
Shell :: linux set environment 
Shell :: how install xampp in ubuntu 
Shell :: kubernetes copy secret form another namespace 
Shell :: grafana speedtest 
Shell :: show git branch name in terminal mac 
Shell :: poetry add library 
Shell :: pip install django invalid syntax 
Shell :: find exclude directories 
Shell :: how to clear gradle cache gitignore 
Shell :: linux find files older than 15 minutes 
Shell :: mac redis cli 
Shell :: powershell help 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =