O IAM faz o gerenciamento da parte de identificação e acesso aos serviços da AWS. Para o correto funcionamento de todas as funcionalidades do deploy, vamos criar duas funções do IAM, uma para o CodeDeploy acessar o EC2, e outra para o EC2 utilizar o SSM (que concede acesso ao System Manager) e possibilitar a comunicação com o CodeDeploy. Pot último, vamos criar um usuário do IAM, para o GitHub acessar posteriormente o CodeDeploy.
This file contains hidden or 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
| pacman | |
| ====== | |
| view logs: /var/log/pacman.log | |
| update system | |
| # pacman -Syu | |
| list installed packages | |
| # pacman -Q |
This file contains hidden or 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
| { | |
| "reactNativeStateFulComponent": { | |
| "prefix": "rnc", | |
| "body": [ | |
| "import React, { Component } from 'react';", | |
| "", | |
| "import { View } from 'react-native';", | |
| "", | |
| "// import { Container } from './styles';", | |
| "", |
This file contains hidden or 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
| <?php | |
| return [ | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Validation Language Lines | |
| |-------------------------------------------------------------------------- | |
| | | |
| | The following language lines contain the default error messages used by |
This file contains hidden or 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
| // set it up | |
| firebase.storage().ref().constructor.prototype.putFiles = function(files) { | |
| var ref = this; | |
| return Promise.all(files.map(function(file) { | |
| return ref.child(file.name).put(file); | |
| })); | |
| } | |
| // use it! | |
| firebase.storage().ref().putFiles(files).then(function(metadatas) { |
