---
# System prepended metadata

title: '[Module 1] AWS x PIC DevAx::academy'

---

# [Module 1] AWS x PIC DevAx::academy 

> Date: 2022-03-08
> This Page: https://pse.is/3xgdwj

> Workshop Content: 
  https://workshops.devax.academy/monoliths-to-microservices-dotnet/

> AWS Event Engine: 
  https://dashboard.eventengine.run/login?hash=9a5e-16820b3c34-05



---

# Lab 0

1.2. Configure the AWS CLI

```shell
aws configure set profile.devaxacademy.region ap-northeast-1
aws configure set profile.devaxacademy.aws_access_key_id ASIAWLBJNxxxxxx
aws configure set profile.devaxacademy.aws_secret_access_key 0kKlyvxxxxx
aws configure set profile.devaxacademy.aws_session_token IQoJb3JpZ2luX2VjELz...很長一串

# 跑這行看到 JSON 表示成功
aws sts get-caller-identity --profile devaxacademy
{
    "UserId": "AROAWLBJNXZLY2YXVVJKB:MasterKey",
    "Account": "436026064471",
    "Arn": "arn:aws:sts::436026064471:assumed-role/TeamRole/MasterKey"
}
```


---

# Lab 1

Invalid Option ‘7.3’ For /langversion; Must Be ISO-1, ISO-2, Default
https://www.c-sharpcorner.com/blogs/invalid-option-73-for-langversion-must-be-iso1-iso2-default

Solution 1

One of the easy solutions is to install and reinstall these two NuGet packages.

Microsoft.CodeDom.Providers.DotNetCompilerPlatform
Microsoft.Net.Compilers

Right Click on Project >> Manage NuGet Packages >> Installed as shown
![](https://i.imgur.com/5sjoLrk.png)
Simply, uninstall and install again these packages.



---


# Q&A
1. 賣貨便目前是一包程式打包後一台一台上版，針對今日的BEANSTALK發佈，不曉得在這部分是否也可應用在此？像是將打包的程式上到S3後觸發事件進行EC2逐台的發佈。



# Survey
  https://survey.immersionday.com/XTyGRyY7R







