Skip to content
Snippets Groups Projects
Select Git revision
  • 729b12210f81573d417d50e3feb5a6905d03ec9d
  • master default protected
  • v4.5.2
  • v4.5.1
  • v4.5.0
  • v4.4.0
  • v4.3.3
  • v4.3.2
  • v4.3.1
  • v4.3.0
  • v4.2.0
  • v4.1.0
  • v4.0.2
  • v4.0.1
  • v4.0.0
  • v3.4.0
  • v3.3.0
  • v3.2.0
  • v3.1.1
  • v3.1.0
  • v3.0.1
  • v3.0.0
22 results

UserInterfaceState.xcuserstate

Blame
  • aws-stack.yml 5.26 KiB
    AWSTemplateFormatVersion: 2010-09-09
    Description: spiceql
    Resources:
      SpiceQLECSLaunchTemplate:
        Type: AWS::EC2::LaunchTemplate
        DependsOn: ECSCluster
        Properties:
          LaunchTemplateData:
            ImageId: /aws/service/ecs/optimized-ami/amazon-linux-2/kernel-5.10/recommended/image_id
            KeyName: AscEc2DevKey
            IamInstanceProfile:
              Arn: !Ref 'IamRoleInstanceProfile'
            BlockDeviceMappings:
              - DeviceName: /dev/xvda
                Ebs:
                  VolumeSize: '5000'
            UserData: !Base64
              Fn::Sub:
                - "#!/bin/bash \necho ECS_CLUSTER=${ClusterName} >> /etc/ecs/ecs.config;"
                - ClusterName: !Ref 'ECSClusterName'
      SpiceQLProdLogGroupSlot1:
        Type: 'AWS::Logs::LogGroup'
        Properties:
          LogGroupName: spiceql_prod_slot1_log_group
        Metadata:
          'AWS::CloudFormation::Designer':
            id: e9e7c015-1dda-480c-98e4-c4795d48e148
      SpiceQLProdTaskDefSlot1:
        Type: 'AWS::ECS::TaskDefinition'
        Properties:
          RequiresCompatibilities:
            - EC2 #FARGATE
          ExecutionRoleArn: 'arn:aws:iam::950438895271:role/csr-EcsTask-Role'
          Cpu: 4096
          Memory: 8192
          NetworkMode: awsvpc
          Volumes:
            - Name: spiceql-ebs
              ConfiguredAtLaunch: true
              DockerVolumeConfiguration:
                Scope: shared
          ContainerDefinitions:
            - Name: spiceql_prod_slot1_container
              Image: 950438895271.dkr.ecr.us-west-2.amazonaws.com/spiceql:latest'
              MountPoints:
                - SourceVolume: spiceql-ebs
                  ContainerPath: /mnt/isis_data
                  ReadOnly: true
              PortMappings:
                - ContainerPort: 80
              LogConfiguration:
                LogDriver: awslogs
                Options:
                  awslogs-region: !Ref 'AWS::Region'
                  awslogs-group: !Ref SpiceQLProdLogGroupSlot1
                  awslogs-stream-prefix: ecs
              Environment: 
                - Name: SPICEROOT
                  Value: /mnt/isis_data
                - Name: SPICEQL_LOG_LEVEL
                  Value: DEBUG
                - Name: SSPICE_DEBUG
                  Value: TRUE
      SpiceQLProdECSClusterSlot1:
        Type: 'AWS::ECS::Cluster'
        Properties:
          ClusterName: spiceqlProdCluster_slot1
          ClusterSettings: 
            - Name: containerInsights 
              Value: enabled