Skip to content

RylanConrad/apk-capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

AWS SFTP Transfer Guide

This is a guide on how to setup a secure cloud-based SFTP transfer server. It uses EC2 attached to an elastic Public IP, then stores the files in a standard S3 bucket.

Setup - Install Terraform, Connect to AWS

  • Terraform install guide
  • AWS CLI setup
  • curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
    unzip awscliv2.zip
    sudo ./aws/install

- Setup access key

- Login to AWS console.
- Click username in top right corner
- Click "Security credentials"
- Scroll down to "Access Keys"
- Create access key - CLI - Next
- Copy - **AWS Access Key ID:** `AKIA...` & **AWS Secret Access Key:** `wJalr...`

- Connect to AWS

# paste in Access Key and Secret Access Key when prompted
aws configure

- Test connection

  • aws sts get-caller-identity

Clone Repo

  •     git clone https://github.com/RylanConrad/apk-capture.git

Paste in public key

  • Navigate to apk-capture/terraform/variables.tf
  • Paste in the vendors public key
variable "transfer_public_key" {
    description = "transferuser public key"
    type = string 
    default = "<PASTE_VENDORS_KEY_HERE>"
}

Start Resources

cd apk-capture/terraform
# Install the necessary terraform providers
terraform init
# Build for real
terraform apply

Vendor guide

To securely send us your APK:

# From the workstation you gave us the public key from.
sftp transferuser@44.205.201.65
sftp> put app.apk s3-uploads/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages