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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
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
| # Cluster Placement Group | |
| aws ec2 create-placement-group --group-name myNewClusterGroup --strategy cluster | |
| aws ec2 run-instances --placement "GroupName = myNewClusterGroup" | |
| # Partition Placement Group | |
| aws ec2 create-placement-group --group-name myNewPartitionGroup --strategy partition --partition-count 5 | |
| aws ec2 run-instances --placement "GroupName = myNewPartitionGroup, PartitionNumber = 3" |
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
| Placement Strategy | Description | Ideal For | |
|---|---|---|---|
| Cluster | TBD | HPC apps | |
| Partition | TBD | Large distributed and replicated workloads such as Kafka, Hadoop, and Cassandra | |
| Spread | TBD | Small number of critical instances that require separation from one another |
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
| public static class AadExtensions | |
| { | |
| public static async Task<IEnumerable<IUser>> GetAllUsersInAppRoleAsync( | |
| this IActiveDirectoryClient client, | |
| string servicePrincipalObjectId, | |
| string appRoleId) | |
| { | |
| var guidAppRoleId = Guid.Parse(appRoleId); | |
| var appRoleAssignmentsPaged = await client.ServicePrincipals | |
| .GetByObjectId(servicePrincipalObjectId) |