Amazon Web Services (AWS)
- Amazon Web Services offers reliable, scalable, and inexpensive cloud computing services. Refer to AWS Documentation for more details. 
AWS CA Certitifcate Registration
- Create a CA certificate, a client certificate and a client key using the Openssl Certificate Creation documentation. 
- Open AWS 
- Login using your AWS credentials 
- Register the CA Certificate in AWS: - Go to - Security -> Certificate Authoritiesand- Register CA Certificate
- Select - Register CAin the Multi-account mode
- Choose the CA certificate that you previously created in the Openssl Certificate Creation (CA.crt) step in the CA certificate registration, and set the CA status to - Activeand the- Automatic certificate registrationoption to- ON
- Register the CA. 
 
- Go to - Security -> Policiesand select- Create Policy. Enter the policy name (ex:- DIC_POLICY) and in the policy statements select- JSONand replace the contents with the JSON provided below:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "*",
      "Resource": "*"
    }
  ]
}
Once done, select Create.
- Steps to generate the certificate for your Matter application to use in the - dic_config.hheader.- Go to - All Devices -> Thingsand select- Create Things.
- Select - Create Single Thingand click Next.
- Specify thing properties Info -> Give the thing a name (Note: Client ID) and click Next. 
- Configure the device certificate - optional Info -> Use my certificate. 
- Certificate details -> Choose - CA is registered with AWS IOTand Select the CA that registered with AWS in Step 4.
- Certificate -> Choose file (Choose Client certificate generated in Openssl Certificate Creation ex: - device.crt) and set the certificate status to- Active. Click Next.
- Use the policy(ex: - DIC_POLICY) created in AWS Certificate Creation.
 
- Repeat Step 5 to create a new thing to use in MQTT Explorer using the certificate created for MQTT explorer ( from Openssl Certificate Creation ex: - explorer.crt)- NOTE: - Thing name must be unique as it will be used as CLIENT ID. 
 
 
- Copy the contents of AWS_CA CERT and create a .pem file to use as a SERVER CERTIFICATE in MQTT Explorer. 
How to create AWS OTA JOB
- Go to AWS Amazon link https://aws.amazon.com/ 
- Login with Amazon Credentials. 
- Click on Services and select - IOT Core.
- On Side Bar Menu in Manage Section click on - Remote Actionsand click on- jobs.
- Click on Create Job and select Job type as a - Create FreeRTOS OTA update job.
- Enter a unique Job name without spaces. 
- In - Devices to updatedropdown select your Certificates which is configured above. for example:- SQA_DIC_C2, SQA_DIC_C3, DIC_2
- Select - MQTTas the protocol for file transfer.
- In File Section select - New/Previously/Customsigned gbl file.- If gbl file is newly created then select - Sign a new file for me
- If gbl file is already uploaded to AWS then select - Choose a previously signed file
- If gbl file is modified customly then select - Use my custome signed file
 
- In - Existing code signing profileselect- dic_ota_codesign. Refer AWS Code Signing Certificate Creation
- For uploading gbl file follow above step - 9.
- In File upload location in S3 select S3 URL as - ota_demo. Refer AWS S3 bucket Creation
- In - Path name of file on devicegive any file name (file.txt).
- Select - ota_demoas- IAM roleand click on Next.
- Click on - create job.
Note: For more details, Refer AWS OTA prerequisites