Administration Best Practices

Administration Best Practices

Access Control

Avoid using the default Anonymous Role in production

Configure the Default Role for global permissions

Avoid complicated content selectors

Design your repository architecture in terms of granting access rather than restricting it

Component Repositories

Have your build servers use a group repository as their component registry

Avoid many remote proxy repositories in a single group

Use HTTPS for remote proxies to protect against man-in-the-middle attacks

Use routing rules on all of your external proxy repositories

Use a hosted maven repository for storing any files where you want clear namespacing

Use a single repository for development over creating a repository for each team

Content Replication

Use content replication to prefetch artifacts for remote teams

Content Replication is not a disaster recovery solution

Use content replication to better scale with proxy nodes

Avoid complicated mesh-like configurations for replication between multiple instances

Monitor replication log files for performance and consistency

Formats

Use specific maven groups for different policy types (RELEASE or SNAPSHOT)

Use Nuget v.3 instead of v.2

Use Docker Subdomain Connectors over connector ports

Push images to a Docker group repository

Cleanup

Control costs by cleaning up unused components from your repositories

Configure cleanup policies on all repositories where you are actively adding components

Balance what you are removing to match as much as you are adding to a repository

Use cleanup to remove components that are no longer being used in your proxies

Cleanup development artifacts faster than production

Storage

Use blob stores to manage attached storage

Use blob store groups for fast-growing repositories

Keep staging environments in the same blob store

Set a quota on your blob store

Monitoring

Use external tools to monitor the health of your repository

Keep the audit log enabled

Use a test environment for running reports

Mine the log files to learn how your repository is being used

Scripting

Use the inbuilt swagger-ui to test the REST API

Avoid using the REST API when existing functionality would do a better job

Avoid testing scripts in production

Avoid using the Groovy scripting engine

Search results

No results found