# Cluster
$ aws ecs create-cluster --cluster-name "quarkus-ec2"
# Register Task Definition (Host NetWorkMode for EC2)
$ aws ecs register-task-definition --cli-input-json file://task-definition-host.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.amazonaws.sandbox.s3.multipart.lowlevel; | |
import java.io.File; | |
import java.util.List; | |
import com.amazonaws.ClientConfiguration; | |
import com.amazonaws.Protocol; | |
import com.amazonaws.auth.PropertiesFileCredentialsProvider; | |
import com.amazonaws.client.builder.AwsClientBuilder; | |
import com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
registry: | |
image: registry:2 | |
restart: always | |
ports: | |
- "5000" | |
environment: | |
REGISTRY_STORAGE_DELETE_ENABLED: 'true' |