Currently, Signal use AWS for attachment and CDS queue. However you can skip this step if you don't want to use AWS, I wrote another guide on replacing S3 & CDN with Minio. But if you need AWS here you go.
-
Login to AWS Console and click on your name, select on
My Security Credentials
. -
Expand the tab
Access keys (access key ID and secret access key)
. -
Click on
Create New Access Key
. -
Click on
Show Access Key
to show your Access Key & Secret. -
Take note of it and keep it safe. You will need it for your Signal Server config.yml
-
Login to AWS Console and search for
S3
. -
Click on
Create Bucket
. -
Name your
Bucket name
and select yourRegion
, then selectNext
. -
Scroll down to
Block Public Access Setting for bucket
remove the check onBlock all public access
and check onI acknowledge that the current settings may result in this bucket and the objects within becoming public
. -
Scroll down and click
Create Bucket
-
Open your bucket by clicking on the name.
-
Go to
Permissions
tab and scroll down toBucket policy
, fill with this (changeyour-bucket-name
to your bucket name).
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::your-bucket-name/*"
}
]
}
-
Scroll down to
Access control list (ACL)
and click onEdit
. -
Check on all List, Read, and Write and click `Save changes.
-
Go to
Access Points
tab and clickCreate access point
. -
Give
Access point name
and selectInternet
onNetwork access type
, remove the check onBlock all public access
. -
Scroll down and click
Create access point
-
Login to AWS Console and search for
CloudFront
. -
Click on
Create Distribution
. -
Under
Web
clickGet Started
. -
On
Origin Domain Name
select yourBucket
. -
On
Viewer Protocol Policy
selectRedirect HTTP to HTTPS
. -
On
Allowed HTTP Methods
selectGET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
. -
Finish by selecting on
Create Distribution
.
-
Login to AWS Console and search for
SQS
. -
Click on
Create new queue
. -
Give a name in
Queue Name
with formatname.fifo
. -
Select
FIFO Queue
, then selectQuick Create Queue
. -
Select your queue and find the
URL
, you will need it for the Signal Server config and CDS config.